Tjiny
2025-07-01 4695a1e617430e72f06e1f6cea55cda3b65a77a9
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
87
88
89
90
using System.Collections.Generic;
using SqlSugar;
 
namespace HH.WCS.Mobox3.RiDong.models;
 
/// <summary>
/// 发货单
/// </summary>
[SugarTable("TN_Shipping_Order")]
public class ShippingOrder : BaseModel {
 
    /// <summary>
    /// 发货单号
    /// </summary>
    public string S_NO { get; set; }
        
    /// <summary>
    /// 发货类型
    /// </summary>
    public string S_TYPE { get; set; }
        
    /// <summary>
    /// 备注
    /// </summary>
    public string S_NOTE { get; set; }
 
    /// <summary>
    /// 工厂
    /// </summary>
    public string S_FACTORY { get; set; } = util.Settings.FacCode;
 
    /// <summary>
    /// 仓库
    /// </summary>
    public string S_WH_CODE { get; set; } = util.Settings.WHCode;
        
    /// <summary>
    /// 业务日期(上游传递下来的)
    /// </summary>
    public string D_OP_DATE { get; set; }
        
    /// <summary>
    /// 预计发货日期
    /// </summary>
    public string D_PLAN_DATE { get; set; }
        
    /// <summary>
    /// 最迟发货日期
    /// </summary>
    public string D_LATEST_DATE { get; set; }
        
    /// <summary>
    /// 优先级
    /// </summary>
    public int N_PRIORITY { get; set; }
    /// <summary>
    /// ���ε���Ĭ�Ͼ��÷ּ𵥵���
    /// </summary>
    public string S_WAVE_CODE { get; set; } = "";
    public string S_AUDIT_INFO { get; set; } = "";
    public string S_AUDIT_RESULT { get; set; }
    public string S_BS_TYPE { get; set; } = "";
        
    /// <summary>
    /// 来源单号
    /// </summary>
    public string S_BS_NO { get; set; } = "";
    public string S_STATE_PRE { get; set; }
  
    /// <summary>
    ///0 �C δ���ɷּ�
    ///1 ���ּ𣨷ּ𵥼��ּ��ӱ��Ѿ������� 2- �ּ��У�����
    ///�ּ���ϸ���C 3 -�ּ���� 4 �C ������� ���ּ�����5 �C ȱ��
    /// </summary>
    public int N_B_STATE { get; set; }
    public string S_ERR { get; set; }
    public string C_AUTO_SORTING { get; set; } = "N";
    public string C_SHIPPING_FIRST { get; set; } = "";
    public string S_END_USER { get; set; } = "";
 
    //public string S_SORTING_AREA { get; set; }
    //public string S_SORTING_LOC { get; set; }
    /// <summary>
    /// ����ӳ�䣬��Ҫ��ʼ�����ӱ���Ҫ�������
    /// </summary>
    [SugarColumn(IsIgnore = true)]
    [Navigate(NavigateType.OneToMany,nameof(ShippingDetail.S_SHIPPING_NO),nameof(S_NO))]
    public List<ShippingDetail> Details { get; set; }
 
}