杨前锦
2025-06-05 01cc5773457f68274ef1b2d9d9daca8983761828
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 HH.WCS.Mobox3.FJJT.models;
using SqlSugar;
using System;
using System.Collections.Generic;
using System.Reflection.Emit;
 
namespace HH.WCS.Mobox3.FJJT {
    /// <summary>
    ///·¢»õµ¥ÐèÒªÓж¨°æºóʼþ£¨S_STATE=¶¨°æ£©£¬ÔÚÕâ¸öʼþÖУ¬ÏµÍ³»á´´½¨´¥·¢Ò»¸öÃûΪ"´´½¨·Ö¼ðµ¥"µÄ·¢»õµ¥Ê¼þ£¬ÓÉÕâ¸ö½Å±¾À´¡¾·Ö¼ðµ¥/·Ö¼ðµ¥×Ó±í¡¿£¬ÔÚ´´½¨·Ö¼ðµ¥Ê±ÐèÒªÅжϲֿâÀïÊÇ·ñÓÐ×ã¹»ÊýÁ¿µÄ»õÆ·£¬Èç¹ûûÓÐ×ã¹»ÊýÁ¿µÄ»õÆ·Éú³Éȱ»õµ¥£¬²¢ÇÒ ÉèÖá¾·¢»õµ¥¡¿µÄÒµÎñ״̬ N_B_STATE = 1£¨´ý·Ö¼ð£©¡£ Õâ¸ö״̬˵Ã÷·Ö¼ðµ¥¡¢·Ö¼ðµ¥×Ó±íÒѾ­´´½¨¡£µÈ´ýÉú³É·Ö¼ðÃ÷ϸ£¨·Ö¼ðÃ÷ϸÐèÒª¾ßÌ嵽ij¸öÈÝÆ÷£©
    ///ÔÚ·Ö¼ðµ¥ÀïÒѾ­Ã÷È·Á˳ö»õµÄ²Ö¿â¡¢¿âÇø£¬²¢ÇÒÔÚ²Ö¿â¡¢¿âÇø¼ÓÉÏ·ÖÅäÁ¿
    /// </summary>
    [SugarTable("TN_Shipping_Order")]
    public class ShippingOrder : BaseModel {
 
        public string S_NO { get; set; }
        public string S_TYPE { get; set; }
        public string S_NOTE { get; set; }
        public string S_FACTORY { get; set; }=util.Settings.FacCode;
        public string S_WH_CODE { get; set; }=util.Settings.WHCode;
        public string D_OP_DATE { get; set; }
        public string D_PLAN_DATE { get; set; }
        public string D_LATEST_DATE { get; set; }
        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; } = "";
        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; }
 
    }
}