服务端的TigerApi 框架,基于.NET6 2024 版本
Rodney Chen
2025-03-26 8c044861aea55f9c1830b4defb80e82600c16c1c
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
using System;
using SqlSugar;
using System.Linq;
using System.ComponentModel;
using System.Collections.Generic;
 
namespace Tiger.Model
{
    /// <summary>
    /// ÊµÌ壺±¸ÁÏÈÎÎñ(WMS)
    /// </summary>
    [Description("Primary:ID")]
    [DisplayName("±¸ÁÏÈÎÎñ(WMS)")]
    [Serializable]
    [SugarTable("BIZ_WMS_PREP")]
    public class BIZ_WMS_PREP : DbEntityWithAuth
    {
        #region ¹¹Ô캯Êý
        /// <summary>
        /// ÊµÌ壺±¸ÁÏÈÎÎñ(WMS)
        /// </summary>
        public BIZ_WMS_PREP() {}
        #endregion
 
        #region ¹«¹²ÊôÐÔ
        /// <summary>
        /// ±¸ÁÏÈÎÎñºÅ
        /// </summary>
        [DisplayName("±¸ÁÏÈÎÎñºÅ")]
        public string ORDER_NO { get; set; }
        /// <summary>
        /// ÒµÎñÀàÐÍ(0OthersÆäËû±¸ÁÏ|1RequisitionÁìÁϵ¥±¸ÁÏ|2WorkOrder¹¤µ¥±¸ÁÏ|3OutsourcingίÍⱸÁÏ)
        /// </summary>
        [DisplayName("ÒµÎñÀàÐÍ(0OthersÆäËû±¸ÁÏ|1RequisitionÁìÁϵ¥±¸ÁÏ|2WorkOrder¹¤µ¥±¸ÁÏ|3OutsourcingίÍⱸÁÏ)")]
        public int BIZ_TYPE { get; set; }
        /// <summary>
        /// ×´Ì¬(0Init³õʼ»¯|1CalledÒѽÐÁÏ|2WaitPick´ý¼ñÁÏ|3Picking¼ñÁÏÖÐ|4PickedÒѼñÍê|5SendedÒÑ·¢ÁÏ|6CloseÒѹرÕ|7Cancel×÷·Ï)
        /// </summary>
        [DisplayName("״̬(0Init³õʼ»¯|1CalledÒѽÐÁÏ|2WaitPick´ý¼ñÁÏ|3Picking¼ñÁÏÖÐ|4PickedÒѼñÍê|5SendedÒÑ·¢ÁÏ|6CloseÒѹرÕ|7Cancel×÷·Ï)")]
        public int STATUS { get; set; }
        /// <summary>
        /// À´Ô´µ¥¾Ý±àÂ룬¶à¸öÓá°,¡±·Ö¸ô
        /// </summary>
        [DisplayName("À´Ô´µ¥¾Ý±àÂ룬¶à¸öÓá°,¡±·Ö¸ô")]
        public string SOURCE_CODE { get; set; }
        /// <summary>
        /// À´Ô´µ¥ºÅ£¬¶à¸öÓá°,¡±·Ö¸ô£¬¸ú±àÂëÒ»Ò»¶ÔÓ¦
        /// </summary>
        [DisplayName("À´Ô´µ¥ºÅ£¬¶à¸öÓá°,¡±·Ö¸ô£¬¸ú±àÂëÒ»Ò»¶ÔÓ¦")]
        public string SOURCE_ORDER { get; set; }
        /// <summary>
        /// ±¸×¢
        /// </summary>
        [DisplayName("±¸×¢")]
        public string REMARK { get; set; }
        #endregion
 
        #region ÐéÄâÊôÐÔ
        /*Àý×Ó
        [SugarColumn(IsIgnore = true)]
        public string FieldName { get; set; }
        */
        #endregion
 
        #region Íâ¼üÊôÐÔ
        /*Àý×Ó
        //Ò»¶ÔÒ»Íâ¼üµ¼º½
        [Navigate(NavigateType.OneToOne, nameof(ClassAId))]//Ò»¶ÔÒ» ClassAIdÊÇBIZ_WMS_PREPÀàÀïÃæµÄÍâ¼üID×Ö¶Î
        public ClassA ClassA { get; set; } //×¢Òâ½ûÖ¹ÊÖ¶¯¸³Öµ£¬Ö»ÄÜÊÇnull
        //Ò»¶Ô¶àÍâ¼üµ¼º½
        [Navigate(NavigateType.OneToMany, nameof(ClassA.BIZ_WMS_PREPId))]//ClassA±íÖеÄBIZ_WMS_PREPId
        public List<ClassA> ClassAList { get; set; }//×¢Òâ½ûÖ¹ÊÖ¶¯¸³Öµ£¬Ö»ÄÜÊÇnull
        //¶à¶Ô¶àÍâ¼üµ¼º½
        [Navigate(typeof(MappingClass), nameof(MappingClass.BIZ_WMS_PREPId), nameof(MappingClass.ClassAId))]//×¢Òâ˳Ðò
        public List<ClassA> ClassAList { get; set; } //×¢Òâ½ûÖ¹ÊÖ¶¯¸³Öµ£¬Ö»ÄÜÊÇnull
        */
        #endregion
 
        #region Ã¶¾Ù±äÁ¿
        /*Àý×Ó
        public enum FieldNames
        {
            [Description("ö¾ÙÃèÊö0")]
            Enum0,
            [Description("ö¾ÙÃèÊö1")]
            Enum1,
        }
        */
 
        /// <summary>
        /// Ã¶¾Ù£ºÒµÎñÀàÐÍ(0OthersÆäËû±¸ÁÏ|1RequisitionÁìÁϵ¥±¸ÁÏ|2WorkOrder¹¤µ¥±¸ÁÏ|3OutsourcingίÍⱸÁÏ)
        /// </summary>
        public enum BIZ_TYPEs
        {
            [Description("ÆäËû±¸ÁÏ")]
            Others = 0,
            [Description("ÁìÁϵ¥±¸ÁÏ")]
            Requisition = 1,
            [Description("¹¤µ¥±¸ÁÏ")]
            WorkOrder = 2,
            [Description("ίÍⱸÁÏ")]
            Outsourcing = 3,
        }
 
        /// <summary>
        /// Ã¶¾Ù£º×´Ì¬(0Init³õʼ»¯|1CalledÒѽÐÁÏ|2WaitPick´ý¼ñÁÏ|3Picking¼ñÁÏÖÐ|4PickedÒѼñÍê|5SendedÒÑ·¢ÁÏ|6CloseÒѹرÕ|7Cancel×÷·Ï)
        /// </summary>
        public enum STATUSs
        {
            [Description("³õʼ»¯")]
            Init = 0,
            [Description("ÒѽÐÁÏ")]
            Called = 1,
            [Description("´ý¼ñÁÏ")]
            WaitPick = 2,
            [Description("¼ñÁÏÖÐ")]
            Picking = 3,
            [Description("ÒѼñÍê")]
            Picked = 4,
            [Description("ÒÑ·¢ÁÏ")]
            Sended = 5,
            [Description("ÒѹرÕ")]
            Close = 6,
            [Description("×÷·Ï")]
            Cancel = 7,
        }
        #endregion
 
        #region ¹«¹²·½·¨
 
        #endregion
 
    }//endClass
}