kazelee
2025-05-19 b079910e5de15863c26e479ffab15cc45d706f1a
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
using SqlSugar;
 
namespace HH.WCS.Mobox3.DSZSH.Models {
    /// <summary>
    /// 【框架】物料-容器 关系表
    /// </summary>
    [SugarTable("TN_CG_Detail")]
    public class TN_CG_Detail : BaseModel {
        #region 基本属性
        /// <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;
        #endregion
 
 
        #region 拓展
        /// <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可能会提供,先创建 
        #endregion
    }
}