kazelee
1 天以前 74ca5a83f24c53c48ad7e6f5b7739649fb411546
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
using System.Collections.Generic;
 
using SqlSugar;
 
namespace HH.WCS.Mobox3.DSZSH.models {
    /// <summary>
    /// 【框架】容器表
    /// </summary>
    [SugarTable("TN_Container")]
    public class TN_Container : BaseModel {
        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; }
 
    }
}