Tjiny
2025-05-19 4c8b2eea64bcd0ae14602a2a6e993b2d04c80ee0
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;
using System.Collections.Generic;
using SqlSugar;
 
namespace HH.WCS.Mobox3.RiDong.models;
 
[SugarTable("TN_Sorting_Order")]
public  class SortingOrder : BaseModel
{
 
 
    public string S_NO { get; set; } = "";
    public string S_SHIPPING_NO { get; set; } = "";
    /// <summary>
    ///  ��������/���۳���/�˿�/
    /// </summary>
    public string S_TYPE { get; set; }
    public string S_FACTORY { get; set; }=util.Settings.FacCode;
    public string S_WH_CODE { get; set; }=util.Settings.WHCode;
    public string S_AREA_CODE { get; set; }
    public string S_SORTING_AREA { get; set; }
    public string S_SORTING_LOC { get; set; }
    public string D_OP_DATE { get; set; }
    public string S_NOTE { get; set; }
    /// <summary>
    /// �ӷ������̳е�����
    /// </summary>
    public string S_BS_TYPE { get; set; }
    /// <summary>
    /// �ӷ������̳е�����
    /// </summary>
    public string S_BS_NO { get; set; }
    public string S_STATE_PRE { get; set; } = "";
    public int N_REVIEW_RESULT { get; set; }
        
    /// <summary>
    /// 1 ��ʼ���(�Զ���ʼ��������˹���ť��ʼ���) 2- ������ 3 �C ��ʼ��ҵ 4 �C ��ҵ�Ѵ��� 10 �C�ּ���� 20 �C ���� 21 �C ��ͣ
    /// </summary>
    public int N_B_STATE { get; set; }
    public string S_END_USER { get; set; }
    public string S_ERR { get; set; }
    public DateTime? T_LAST_PROC { get; set; }
    public int N_PROC_COUNT { get; set; }
    public int N_LASTE_B_STATE { get; set; }
    /// <summary>
    /// Y = �����ɺ����ϰ�����ҵ��ʼ����
    /// </summary>
    //public string C_AUTO_OP { get; set; } = "N";
    [SugarColumn(IsIgnore = true)]
    [Navigate(NavigateType.OneToMany, nameof(SortingCompose.S_SORTING_NO), nameof(S_NO))]
    public List<SortingCompose> Composes { get; set; }
 
    [Navigate(NavigateType.OneToMany, nameof(SortingDetail.S_SORTING_NO), nameof(S_NO))]
    public List<SortingDetail> Details { get; set; }
}