kazelee
2025-06-24 ad56deb081831090408f97b1c73e61a2eaed8657
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
using SqlSugar;
 
namespace HH.WCS.Mobox3.DSZSH.models {
    /// <summary>
    /// 出库单明细
    /// </summary>
    [SugarTable("TN_Outbound_Detail")]
    public class TN_Outbound_Detail : BaseModel {
        /// <summary>
        /// 出库单号
        /// </summary>
        public string S_OO_NO { get; set; }
 
        public string S_BS_TYPE { get; set; } = string.Empty; // ERP
 
        public string S_BS_NO { get; set; } = string.Empty; // ERP 单号(来源单号)
 
        /// <summary>
        /// 业务状态:0待执行 1已下发 2执行中 3已完成
        /// </summary>
        public int N_B_STATE { get; set; } = 1; // 创建即执行
 
        /// <summary>
        /// 物料号
        /// </summary>
        public string S_ITEM_CODE { get; set; }
 
        public string S_CNTR_CODE { get; set; }
 
        /// <summary>
        /// 批次号
        /// </summary>
        public string S_BATCH_NO { get; set; }
 
        /// <summary>
        /// 出库货品数量(整数,用于生成任务数)
        /// </summary>
        public int N_COUNT { get; set; }
 
        /// <summary>
        /// 终点库区(由WMS下发任务时指定)
        /// </summary>
        public string S_END_AREA { get; set; }
 
    }
}