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 { [SugarColumn(IsPrimaryKey = true, IsIdentity = true, ColumnDescription = "主键")] public int Id { get; set; } [SugarColumn(IsNullable = false, Length = 100, ColumnDescription = "编号")] public string ContainerCode { get; set; } [SugarColumn(IsNullable = false, ColumnDescription = "长")] public int ContainerLength { get; set; } [SugarColumn(IsNullable = false, ColumnDescription = "宽")] public int ContainerWidth { get; set; } [SugarColumn(IsNullable = false, ColumnDescription = "高")] public int ContainerHeight { get; set; } [SugarColumn(IsNullable = false, ColumnDescription = "X坐标")] public int ContainerPositionX { get; set; } [SugarColumn(IsNullable = false, ColumnDescription = "Y坐标")] public int ContainerPositionY { get; set; } [SugarColumn(IsNullable = false, ColumnDescription = "Z坐标")] public int ContainerPositionZ { get; set; } [SugarColumn(IsNullable = false, ColumnDescription = "状态")] public int ContainerStatus { get; set; } [SugarColumn(IsNullable = false, ColumnDescription = "排序")] public int ContainerSort { get; set; } [SugarColumn(IsNullable = false, ColumnDescription = "备注")] public string ContainerRemark { get; set; } [Navigate(NavigateType.OneToMany, nameof(Dt_ContainerItem.ContainerId), nameof(Id))] public List Items { get; set; } } }