using System.Collections.Generic; using SqlSugar; namespace HH.WCS.Mobox3.DSZSH.models { /// /// 【框架】容器表 /// [SugarTable("TN_Container")] public class TN_Container : BaseModel { public string S_CODE { get; set; } = string.Empty; /// /// 容器类型 /// public string S_TYPE { get; set; } = string.Empty; /// /// 规格(用于记录容器适用的物料编号) /// public string S_SPEC { get; set; } = string.Empty; /// /// 来源(这里记录为创建该容器的主体:Mobox或具体的任务) /// public string S_SOURCE { get; set; } = string.Empty; public int N_DETAIL_COUNT { get; set; } [SugarColumn(IsIgnore = true)] [Navigate(NavigateType.OneToMany, nameof(TN_CG_Detail.S_CNTR_CODE), nameof(S_CODE))] public List CntrItemRels { get; set; } } }