服务端的TigerApi 框架,基于.NET6 2024 版本
Rodney Chen
6 天以前 f8be4db0be9e9de5830dd41f7d156c368a1ea43f
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
using System;
using SqlSugar;
using System.Linq;
using System.ComponentModel;
using System.Collections.Generic;
 
namespace Tiger.Model
{
    /// <summary>
    /// 实体:储位
    /// </summary>
    [Description("Primary:ID")]
    [Serializable]
    [SugarTable("WMS_LOCATION")]
    public class WMS_LOCATION : DbEntityWithAuth
    {
        #region 构造函数
        /// <summary>
        /// 实体:储位
        /// </summary>
        public WMS_LOCATION() {}
        #endregion
 
        #region 公共属性
        /// <summary>
        /// 储位编码
        /// </summary>
        public string LOCATION_CODE { get; set; }
        /// <summary>
        /// 储位名称
        /// </summary>
        public string LOCATION_NAME { get; set; }
        /// <summary>
        /// 储位简称
        /// </summary>
        public string SHORT_NAME { get; set; }
        /// <summary>
        /// 所处层编码
        /// </summary>
        public string FLOOR_CODE { get; set; }
        /// <summary>
        /// 所处层数
        /// </summary>
        public int FLOOR_NO { get; set; }
        /// <summary>
        /// 方向(0正面|1反面)
        /// </summary>
        public int SIDE { get; set; }
        /// <summary>
        /// 储位序号
        /// </summary>
        public int SEQ_NO { get; set; }
        /// <summary>
        /// 组织代码
        /// </summary>
        public string ORG_CODE { get; set; }
        /// <summary>
        /// 货架/料车ID
        /// </summary>
        public string SHELF_ID { get; set; }
        /// <summary>
        /// 是否启用(Y/N)
        /// </summary>
        public string IS_ACTIVE { get; set; }
        /// <summary>
        /// 是否混放物料(Y/N)
        /// </summary>
        public string IS_MIX { get; set; }
        /// <summary>
        /// 是否单个放置(Y/N)
        /// </summary>
        public string IS_SINGLE { get; set; }
        /// <summary>
        /// 储位LedId
        /// </summary>
        public int LEDID { get; set; }
        /// <summary>
        /// 储位规格
        /// </summary>
        public string SPEC { get; set; }
        /// <summary>
        /// 是否损坏(Y/N)
        /// </summary>
        public string IS_DAMAGE { get; set; }
        /// <summary>
        /// 是否有LED灯(Y/N)
        /// </summary>
        public string HAS_LED { get; set; }
        /// <summary>
        /// 指示灯Id
        /// </summary>
        public int INDICATOR { get; set; }
        /// <summary>
        /// 备注
        /// </summary>
        public string REMARK { get; set; }
        #endregion
 
        #region 虚拟属性
        /*例子
        [SugarColumn(IsIgnore = true)]
        public string FieldName { get; set; }
        */
        [SugarColumn(IsIgnore = true)]
        public WMS_SHELF Shelf { get; set; }
        #endregion
 
        #region 枚举变量
        /*例子
        public enum FieldNames
        {
            [Description("枚举描述0")]
            Enum0,
            [Description("枚举描述1")]
            Enum1,
        }
        */
        #endregion
 
        #region 公共方法
        public WMS_LOCATION AddShelf(WMS_SHELF shelf) { 
            Shelf = shelf;
            return this;
        }
        #endregion
 
    }//endClass
}