|
using System;
|
using System.Collections.Generic;
|
using System.Linq;
|
using System.Text;
|
using System.Threading.Tasks;
|
using SqlSugar;
|
using WIDESEAWCS_Core.DB.Models;
|
|
namespace WIDESEAWCS_Model.Models
|
{
|
[SugarTable]
|
public class Dt_Container : BaseEntity
|
{
|
/// <summary>
|
/// 主键
|
/// </summary>
|
[SugarColumn(IsPrimaryKey = true, IsIdentity = true, ColumnDescription = "主键")]
|
public int Id { get; set; }
|
|
/// <summary>
|
/// 编号
|
/// </summary>
|
[SugarColumn(IsNullable = false, Length = 100, ColumnDescription = "编码")]
|
public string ContainerCode { get; set; }
|
|
/// <summary>
|
/// 编号
|
/// </summary>
|
[SugarColumn(IsNullable = false, ColumnDescription = "编号")]
|
public int ContainerNo { get; set; }
|
|
/// <summary>
|
/// 类型
|
/// </summary>
|
[SugarColumn(IsNullable = false, ColumnDescription = "类型")]
|
public int ContainerType { get; set; }
|
|
/// <summary>
|
/// 状态
|
/// </summary>
|
[SugarColumn(IsNullable = false, ColumnDescription = "状态")]
|
public int ContainerStatus { get; set; }
|
|
/// <summary>
|
/// 长
|
/// </summary>
|
[SugarColumn(IsNullable = false, ColumnDescription = "长")]
|
public int ContainerLength { get; set; }
|
|
/// <summary>
|
/// 宽
|
/// </summary>
|
[SugarColumn(IsNullable = false, ColumnDescription = "宽")]
|
public int ContainerWidth { get; set; }
|
|
/// <summary>
|
/// 高
|
/// </summary>
|
[SugarColumn(IsNullable = false, ColumnDescription = "高")]
|
public int ContainerHeight { get; set; }
|
|
/// <summary>
|
/// 设备编号
|
/// </summary>
|
[SugarColumn(IsNullable = false, Length = 20, ColumnDescription = "设备编号")]
|
public string DeviceCode { get; set; }
|
|
/// <summary>
|
/// 是否启用
|
/// </summary>
|
[SugarColumn(IsNullable = false, ColumnDescription = "是否启用")]
|
public bool ContainerEnable { get; set; }
|
|
/// <summary>
|
/// 排序
|
/// </summary>
|
[SugarColumn(IsNullable = false, ColumnDescription = "排序")]
|
public int ContainerSort { get; set; }
|
|
/// <summary>
|
/// 备注
|
/// </summary>
|
[SugarColumn(IsNullable = true, ColumnDescription = "备注")]
|
public string ContainerRemark { get; set; }
|
|
[Navigate(NavigateType.OneToMany, nameof(Dt_ContainerItem.ContainerId), nameof(Id))]
|
public List<Dt_ContainerItem> Items { get; set; }
|
}
|
}
|