服务端的TigerApi 框架,基于.NET6 2024 版本
Ben Lin
2025-02-27 9e4d2ea113f6d5631f78aa85bbe39481fd701b72
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
using System;
using SqlSugar;
using System.Linq;
using System.ComponentModel;
using System.Collections.Generic;
using Tiger.Model;
 
namespace Tiger.Model.Minsun
{
    /// <summary>
    /// 实体:WMS_PRDPICK_H
    /// </summary>
    [Description("Primary:Id")]
    [Serializable]
    [SugarTable("WMS_PRDPICK_H")]
    public class WMS_PRDPICK_H : iDBEntity
    {
        #region 构造函数
        /// <summary>
        /// 实体:WMS_PRDPICK_H
        /// </summary>
        public WMS_PRDPICK_H() {}
        #endregion
 
        #region 公共属性
        /// <summary>
        /// 主键  
        /// </summary>
        [SugarColumn(IsPrimaryKey = true, IsIdentity = true)]
        public long Id { get; set; }
        /// <summary>
        ///  
        /// </summary>
        public string BILLCODE { get; set; }
        /// <summary>
        ///  
        /// </summary>
        public DateTime? BILLDATE { get; set; }
        /// <summary>
        ///  
        /// </summary>
        public string STATUS { get; set; }
        /// <summary>
        /// /
        /// </summary>
        public string BIZTYPE { get; set; }
        /// <summary>
        ///  
        /// </summary>
        public string WAREHOUSECODE { get; set; }
        /// <summary>
        ///  
        /// </summary>
        public int SOURCETYPE { get; set; }
        /// <summary>
        ///  
        /// </summary>
        public string SOURCECODE { get; set; }
        /// <summary>
        ///  
        /// </summary>
        public string REMARK { get; set; }
        /// <summary>
        ///  
        /// </summary>
        public DateTime? LastModificationTime { get; set; }
        /// <summary>
        ///  
        /// </summary>
        public long LastModifierUserId { get; set; }
        /// <summary>
        ///  
        /// </summary>
        public DateTime? CreationTime { get; set; }
        /// <summary>
        ///  
        /// </summary>
        public long CreatorUserId { get; set; }
        /// <summary>
        ///  
        /// </summary>
        public string ERP_BILL_CODE { get; set; }
        #endregion
 
        #region 虚拟属性
        /*例子
        [SugarColumn(IsIgnore = true)]
        public string FieldName { get; set; }
        */
        [SugarColumn(IsIgnore = true)]
        public int ENTERPRISECODE { get; set; }
        [SugarColumn(IsIgnore = true)]
        public string STRONGHOID { get; set; }
        //[SugarColumn(IsIgnore = true)]
        //public List<WMS_PRDPICK_D> Data { get; set; }
        #endregion
 
        #region 枚举变量
        /*例子
        public enum FieldNames
        {
            [Description("枚举描述0")]
            Enum0,
            [Description("枚举描述1")]
            Enum1,
        }
        */
 
        public enum Status
        {
            /// <summary>
            /// 初始化
            /// </summary>
            INIT,
            /// <summary>
            /// 清点中
            /// </summary>
            INVENTORY,
            /// <summary>
            /// 作业中
            /// </summary>
            WORKING,
            /// <summary>
            /// 超发
            /// </summary>
            EXCEED,
            /// <summary>
            /// 完成
            /// </summary>
            COMPLETE
        }
 
        public enum BizType
        {
            //正常
            NORMAL = 1,
            OUTSOURCE = 2
        }
        #endregion
 
        #region 公共方法
 
        #endregion
 
    }//endClass
 
    public class MaterialRem : iDBEntity
    {
        public string BILLCODE { get; set; }
        public int ENTERPRISECODE { get; set; }
        public string STRONGHOID { get; set; }
 
    }//endClass
}