kazelee
2025-05-23 e2ec31cc0062b3c1af621437554aa9a3505d2a56
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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
using SqlSugar;
 
namespace HH.WCS.Mobox3.DSZSH.models {
    /// <summary>
    /// 【框架】物料-容器 关系表
    /// </summary>
    [SugarTable("TN_CG_Detail")]
    public class TN_CG_Detail : BaseModel {
 
        /// <summary>
        /// 料箱商品标识
        /// </summary>
        public string S_CG_ID { get; set; } = string.Empty; // 暂时用不到,默认为空
 
        /// <summary>
        /// 物料编码
        /// </summary>
        public string S_ITEM_CODE { get; set; }
 
        /// <summary>
        /// 物料名称
        /// </summary>
        public string S_ITEM_NAME { get; set; } = string.Empty;
 
        /// <summary>
        /// 容器编码
        /// </summary>
        public string S_CNTR_CODE { get; set; }
 
        /// <summary>
        /// 货品状态:0合格 1待检 2不合格 3抽检中;下线即待检
        /// </summary>
        public string S_ITEM_STATE { get; set; } = "待检";
 
        /// <summary>
        /// 货品状态:0合格 1待检 2不合格 3正在检验;下线即待检
        /// </summary>
        public int N_ITEM_STATE { get; set; } = 1;
 
        /// <summary>
        /// 批次号
        /// </summary>
        public string S_BATCH_NO { get; set; }
 
        /// <summary>
        /// 货品数量
        /// </summary>
        public int N_ITEM_NUM { get; set; } = 0;
 
        /// <summary>
        /// 物料规格
        /// </summary>
        public string S_ITEM_SPEC { get; set; } = string.Empty;
 
        // -------------------------------
 
        /// <summary>
        /// 执行标准
        /// </summary>
        public string S_STANDARD { get; set; } = string.Empty;
 
        /// <summary>
        /// 净含量
        /// </summary>
        public string S_NET_WEIGHT { get; set; } = string.Empty;
 
        /// <summary>
        /// 质量等级
        /// </summary>
        public string S_QUALITY_GRADE { get; set; } = string.Empty;
 
        /// <summary>
        /// 产线号
        /// </summary>
        public int N_PRODUCT_LINE { get; set; } = 0; // NOTE 后续MES可能会提供,先创建 
 
        // ----------------
 
        // TODO
 
        ///// <summary>
        ///// 物料所在的区域
        ///// </summary>
        //public string S_AREA_CODE { get; set; } = string.Empty;
    }
}