kazelee
昨天 f8d23dcf8d6501482db1a5180325194232afe96c
models/TN_Container.cs
@@ -8,17 +8,25 @@
    /// </summary>
    [SugarTable("TN_Container")]
    public class TN_Container : BaseModel {
        public string S_CODE { get; set; }
        public string S_TYPE { get; set; }
        public string S_SPEC { get; set; }
        public string S_CODE { get; set; } = string.Empty;
        /// <summary>
        /// 容器类型
        /// </summary>
        public string S_TYPE { get; set; } = string.Empty;
        /// <summary>
        /// 规格 (用于记录容器适用的物料编号)
        /// </summary>
        public string S_SPEC { get; set; } = string.Empty;
        /// <summary>
        /// 来源 (这里记录为创建该容器的主体:Mobox或具体的任务)
        /// </summary>
        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<TN_CG_Detail> CntrItemRels { get; set; }
        public List<TN_CG_Detail> CntrItemRels { get; set; }
    }
}