jt
2021-06-10 5d0d028456874576560552f5a5c4e8b801786f11
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
using MongoDB.Bson;
using MongoDB.Bson.Serialization.Attributes;
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
 
namespace HH.WMS.Entitys.Basic
{
    /// <summary>
    /// 仓库库区/逻辑分区  AutoBom
    /// </summary>
    //[DataContract]
    [BsonIgnoreExtraElements]
    public class AutoBomStockAreaEntity
    {
        [JsonIgnore]
        public ObjectId _id
        {
            get;
            set;
        }
        /// <summary>
        /// 主键GUID
        /// </summary>
        public string CN_GUID { get; set; }
 
        /// <summary>
        /// 仓库编码
        /// </summary>
        public string CN_S_STOCK_CODE { get; set; }
 
        /// <summary>
        /// 仓库名称  关联自 仓库表<TN_AB_STOCK>
        /// </summary>
        public string CN_S_STOCK_NAME { get; set; }
 
        /// <summary>
        /// 库区编码
        /// </summary>
        public string CN_S_AREA_CODE { get; set; }
 
        /// <summary>
        /// 库区名称
        /// </summary>
        public string CN_S_AREA_NAME { get; set; }
 
        /// <summary>
        /// 类型 1:库区   2:逻辑分区   3:虚拟分区     4:作业分区
        /// </summary>
        public int CN_N_TYPE { get; set; }
        /// <summary>
        /// 排序号
        /// </summary>
        public int CN_N_ORDER { get; set; }
 
        /// <summary>
        /// 描述
        /// </summary>
        public string CN_S_DESC { get; set; }
 
        /// <summary>
        /// 保管员
        /// </summary>
        public string CN_S_CUSTODIAN { get; set; }
 
        /// <summary>
        /// 创建人
        /// </summary>
        public string CN_S_CREATOR { get; set; }
 
        /// <summary>
        /// 创建人姓名
        /// </summary>
        public string CN_S_CREATOR_BY { get; set; }
 
        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime CN_T_CREATE { get; set; }
 
        /// <summary>
        /// 修改人
        /// </summary>
        public string CN_S_MODIFY { get; set; }
 
        /// <summary>
        /// 修改人名称
        /// </summary>
        public string CN_S_MODIFY_BY { get; set; }
 
        /// <summary>
        /// 创建日期
        /// </summary>
        public DateTime CN_T_MODIFY { get; set; }
 
        /// <summary>
        /// 优先级
        /// </summary>
        public int CN_N_PRIORITY { get; set; }
 
        public string CN_S_AREA_CLASS { get; set; }
        public string CN_C_IS_AUTO { get; set; }
        public string CN_S_IMG { get; set; }
        /// <summary>
        /// 结构
        /// </summary>
        public string CN_S_STRUCTURE { get; set; }
        /// <summary>
        /// 管控维度(货位、库区)
        /// </summary>
        public string CN_S_CONTROL_LEVE { get; set; }
        /// <summary>
        /// 是否管控数量
        /// </summary>
        public string CN_C_IS_CONTROL_QTY { get; set; }
        public string CN_S_LOGIC_TYPE { get; set; }
        public string CN_S_CODEDISK_MODEL { get; set; }
        public string CN_C_IS_CHECKTRAY { get; set; }
        public string CN_C_IS_TRAY { get; set; }
        public string CN_C_IS_INVENTORY { get; set; }
        public string CN_C_IS_INOUT_MODEL { get; set; }
        public string CN_S_INOUT_MODEL { get; set; }
        private string _cn_c_is_merge;
        public string CN_C_IS_MERGE
        {
            get
            {
                if (string.IsNullOrEmpty(_cn_c_is_merge))
                    return "N";
                return _cn_c_is_merge;
            }
            set { _cn_c_is_merge = value; }
        }
 
        /// <summary>
        /// 当前模式
        /// </summary>
        public string CN_S_CURRENT_MODE { get; set; }
 
        /// <summary>
        /// 当前库区最多可同时分拣的分拣单数量
        /// </summary>
       // public int CN_N_PICK_MAX { get; set; }
 
 
    }
}