服务端的TigerApi 框架,基于.NET6 2024 版本
Rodney Chen
2025-03-07 cca3d57047af05ef3087fc3b244d1836add4f677
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
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
using System;
using SqlSugar;
using System.Linq;
using System.ComponentModel;
using System.Collections.Generic;
 
namespace Tiger.Model
{
    /// <summary>
    /// ÊµÌ壺ËÍ»õµ¥(U9)
    /// </summary>
    [Description("Primary:ID")]
    [DisplayName("ËÍ»õµ¥(U9)")]
    [Serializable]
    [SugarTable("BIZ_U9_ASN")]
    public class BIZ_U9_ASN : DbEntityWithAuth
    {
        #region ¹¹Ô캯Êý
        /// <summary>
        /// ÊµÌ壺ËÍ»õµ¥(U9)
        /// </summary>
        public BIZ_U9_ASN() {}
        #endregion
 
        #region ¹«¹²ÊôÐÔ
        /// <summary>
        /// µ¥¾ÝºÅ
        /// </summary>
        [DisplayName("µ¥¾ÝºÅ")]
        public string ORDER_NO { get; set; }
        /// <summary>
        /// ×´Ì¬(0Init³õʼ»¯|1ImportedÒѵ¼Èë|2ArrivedÒÑËÍ´ï|3CountingÇåµãÖÐ|4InQC¼ìÑéÖÐ|5StoringÉϼÜÖÐ|6Review´ýÉóºË|7FinishedÒÑÍê³É|8CancelÒÑ×÷·Ï)
        /// </summary>
        [DisplayName("״̬(0Init³õʼ»¯|1ImportedÒѵ¼Èë|2ArrivedÒÑËÍ´ï|3CountingÇåµãÖÐ|4InQC¼ìÑéÖÐ|5StoringÉϼÜÖÐ|6Review´ýÉóºË|7FinishedÒÑÍê³É|8CancelÒÑ×÷·Ï)")]
        public int STATUS { get; set; }
        /// <summary>
        /// ¹©Ó¦É̱àÂë
        /// </summary>
        [DisplayName("¹©Ó¦É̱àÂë")]
        public string SUPP_CODE { get; set; }
        /// <summary>
        /// ¹©Ó¦ÉÌÃû³Æ
        /// </summary>
        [DisplayName("¹©Ó¦ÉÌÃû³Æ")]
        public string SUPP_NAME { get; set; }
        /// <summary>
        /// µ¥¾ÝÈÕÆÚ
        /// </summary>
        [DisplayName("µ¥¾ÝÈÕÆÚ")]
        public DateTime ORDER_DATE { get; set; } = DateTime.MinValue;
        /// <summary>
        /// ËÍ»õÈÕÆÚ
        /// </summary>
        [DisplayName("ËÍ»õÈÕÆÚ")]
        public DateTime DELIVERY_DATE { get; set; } = DateTime.MinValue;
        /// <summary>
        /// Ô¤¼ÆËÍ´ïÈÕÆÚ
        /// </summary>
        [DisplayName("Ô¤¼ÆËÍ´ïÈÕÆÚ")]
        public DateTime PLANARRIVED_DATE { get; set; } = DateTime.MinValue;
        /// <summary>
        /// ²É¹ºµ¥ID
        /// </summary>
        [DisplayName("²É¹ºµ¥ID")]
        public string PO_ID { get; set; }
        /// <summary>
        /// ²É¹ºµ¥ºÅ
        /// </summary>
        [DisplayName("²É¹ºµ¥ºÅ")]
        public string PO_NO { get; set; }
        /// <summary>
        /// ÊÕ»õÈË
        /// </summary>
        [DisplayName("ÊÕ»õÈË")]
        public string RECEIVER { get; set; }
        /// <summary>
        /// ÊÕ»õÈÕÆÚ
        /// </summary>
        [DisplayName("ÊÕ»õÈÕÆÚ")]
        public DateTime RECEIVE_DATE { get; set; } = DateTime.MinValue;
        /// <summary>
        /// ±¸×¢
        /// </summary>
        [DisplayName("±¸×¢")]
        public string REMARK { get; set; }
        /// <summary>
        /// -1:δ´¦Àí£¬0:ͬ²½´¦ÀíÍ꣬>0:ͬ²½´¦Àíʧ°Ü´ÎÊý
        /// </summary>
        [DisplayName("-1:δ´¦Àí£¬0:ͬ²½´¦ÀíÍ꣬>0:ͬ²½´¦Àíʧ°Ü´ÎÊý")]
        public int HANDLED { get; set; } = -1;
        /// <summary>
        /// ×îºóÒ»´Îͬ²½´¦ÀíÈÕÆÚ
        /// </summary>
        [DisplayName("×îºóÒ»´Îͬ²½´¦ÀíÈÕÆÚ")]
        public DateTime HANDLED_DATE { get; set; } = DateTime.MinValue;
        /// <summary>
        /// ¹ýÕËÌá½»µÄJSON
        /// </summary>
        [DisplayName("¹ýÕËÌá½»µÄJSON")]
        public string COMMIT_JSON { get; set; }
        /// <summary>
        /// ¹ýÕËÌá½»µÄ·µ»ØÐÅÏ¢
        /// </summary>
        [DisplayName("¹ýÕËÌá½»µÄ·µ»ØÐÅÏ¢")]
        public string COMMIT_MSG { get; set; }
        #endregion
 
        #region ÐéÄâÊôÐÔ
        /*Àý×Ó
        [SugarColumn(IsIgnore = true)]
        public string FieldName { get; set; }
        */
        #endregion
 
        #region Íâ¼üÊôÐÔ
        /*Àý×Ó
        //Ò»¶ÔÒ»Íâ¼üµ¼º½
        [Navigate(NavigateType.OneToOne, nameof(ClassAId))]//Ò»¶ÔÒ» ClassAIdÊÇBIZ_U9_ASNÀàÀïÃæµÄÍâ¼üID×Ö¶Î
        public ClassA ClassA { get; set; } //×¢Òâ½ûÖ¹ÊÖ¶¯¸³Öµ£¬Ö»ÄÜÊÇnull
        //Ò»¶Ô¶àÍâ¼üµ¼º½
        [Navigate(NavigateType.OneToMany, nameof(ClassA.BIZ_U9_ASNId))]//ClassA±íÖеÄBIZ_U9_ASNId
        public List<ClassA> ClassAList { get; set; }//×¢Òâ½ûÖ¹ÊÖ¶¯¸³Öµ£¬Ö»ÄÜÊÇnull
        //¶à¶Ô¶àÍâ¼üµ¼º½
        [Navigate(typeof(MappingClass), nameof(MappingClass.BIZ_U9_ASNId), nameof(MappingClass.ClassAId))]//×¢Òâ˳Ðò
        public List<ClassA> ClassAList { get; set; } //×¢Òâ½ûÖ¹ÊÖ¶¯¸³Öµ£¬Ö»ÄÜÊÇnull
        */
        #endregion
 
        #region Ã¶¾Ù±äÁ¿
        /*Àý×Ó
        public enum FieldNames
        {
            [Description("ö¾ÙÃèÊö0")]
            Enum0,
            [Description("ö¾ÙÃèÊö1")]
            Enum1,
        }
        */
 
        /// <summary>
        /// Ã¶¾Ù£º×´Ì¬(0Init³õʼ»¯|1ImportedÒѵ¼Èë|2ArrivedÒÑËÍ´ï|3CountingÇåµãÖÐ|4InQC¼ìÑéÖÐ|5StoringÉϼÜÖÐ|6Review´ýÉóºË|7FinishedÒÑÍê³É|8CancelÒÑ×÷·Ï)
        /// </summary>
        public enum STATUSs
        {
            [Description("³õʼ»¯")]
            Init = 0,
            [Description("Òѵ¼Èë")]
            Imported = 1,
            [Description("ÒÑËÍ´ï")]
            Arrived = 2,
            [Description("ÇåµãÖÐ")]
            Counting = 3,
            [Description("¼ìÑéÖÐ")]
            InQC = 4,
            [Description("ÉϼÜÖÐ")]
            Storing = 5,
            [Description("´ýÉóºË")]
            Review = 6,
            [Description("ÒÑÍê³É")]
            Finished = 7,
            [Description("ÒÑ×÷·Ï")]
            Cancel = 8,
        }
        #endregion
 
        #region ¹«¹²·½·¨
 
        #endregion
 
    }//endClass
}