kazelee
2025-05-29 e2303b1125817cb7887e36d5905c8f1661d685a3
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
using System.Collections.Generic;
 
using SqlSugar;
 
namespace HH.WCS.Mobox3.DSZSH.models {
    /// <summary>
    /// 出库单
    /// </summary>
    [SugarTable("TN_Outbound_Order")]
    internal class TN_Outbound_Order : BaseModel {
        /// <summary>
        /// 出库单号
        /// </summary>
        public string S_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; }
 
        /// <summary>
        /// 批次号
        /// </summary>
        public string S_BATCH { get; set; }
        /// <summary>
        /// 出库数量
        /// </summary>
        public int N_END_NUM { get; set; }
 
        //public float F_OUT_QTY { get; set; }
 
        /// <summary>
        /// 终点库区(由WMS下发任务时指定)
        /// </summary>
        public string S_END_AREA { get; set; }
 
        /// <summary>
        /// 是否强制出库:0不强制 1强制
        /// </summary>
        public bool B_FORCE_OUT { get; set; }
 
 
        [Navigate(NavigateType.OneToMany, nameof(TN_Outbound_Detail.S_OO_NO))]
        public List<TN_Outbound_Detail> Details { get; set; }
    }
}