BaseLocation.cs
4.16 KB
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
172
173
174
175
176
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Text;
namespace HHECS.Model.Entities.BasicData
{
[Serializable]
[Table("base_location")]
public class BaseLocation : BaseEntityCU<int>
{
[Column("keys")]
[MaxLength(50)]
[Required]
public Guid keys { get; set; }
///<summary>
/// 编码
/// </summary>
[Column("locationCode")]
[MaxLength(50)]
[Required]
public string LocationCode { get; set; }
///<summary>
/// 名称
/// </summary>
[Column("locationName")]
[MaxLength(50)]
[Required]
public string LocationName { get; set; }
///<summary>
/// 工位编码
/// </summary>
[Column("stationCode")]
[MaxLength(50)]
[Required]
public string StationCode { get; set; }
///<summary>
/// 线体编码
/// </summary>
[Column("lineCode")]
[MaxLength(50)]
[Required]
public string LineCode { get; set; }
///<summary>
/// 上料区域
/// </summary>
[Column("fitupArea")]
[MaxLength(50)]
[Required]
public int FitupArea { get; set; }
///<summary>
/// 库位类型
/// </summary>
[Column("locationType")]
[MaxLength(50)]
[Required]
public string LocationType { get; set; }
///<summary>
/// 容器编码
/// </summary>
[Column("containerCode")]
[MaxLength(50)]
[Required]
public string ContainerCode { get; set; }
///<summary>
/// 状态
/// </summary>
[Column("locationStatus")]
[MaxLength(50)]
[Required]
public int LocationStatus { get; set; }
///<summary>
/// 区域 装料点 上料点
/// </summary>
[Column("zoneCode")]
[MaxLength(50)]
[Required]
public int ZoneCode { get; set; }
///<summary>
/// 库位
/// </summary>
[Column("warehouseCode")]
[MaxLength(50)]
[Required]
public string WarehouseCode { get; set; }
///<summary>
///plc属性code
/// </summary>
[Column("extensionField1")]
[MaxLength(50)]
[Required]
public string ExtensionField1 { get; set; }
///<summary>
/// 备用字段
/// </summary>
[Column("extensionField2")]
[MaxLength(50)]
[Required]
public string ExtensionField2 { get; set; }
///<summary>
/// 备用字段
/// </summary>
[Column("extensionField3")]
[MaxLength(50)]
[Required]
public string ExtensionField3 { get; set; }
///<summary>
///
/// </summary>
[Column("isLightFence")]
[MaxLength(50)]
[Required]
public bool IsLightFence { get; set; }
///<summary>
/// 料点类型(电脑叫料=10、ECS叫料=20)
/// </summary>
[Column("callType")]
[MaxLength(50)]
[Required]
public int CallType { get; set; }
///<summary>
/// 上料点位的分组编码
/// </summary>
[Column("feedGroupCode")]
[MaxLength(50)]
[Required]
public string FeedGroupCode { get; set; }
///<summary>
/// 装料点位的分组编码
/// </summary>
[Column("loadGroupCode")]
[MaxLength(50)]
[Required]
public string LoadGroupCode { get; set; }
///<summary>
/// 是否工装
/// </summary>
[Column("isWorkClothes")]
[MaxLength(50)]
[Required]
public int IsWorkClothes { get; set; }
///<summary>
/// 绑定料点是否有料框的设备属性code(用于判断料点是否有料框)
/// </summary>
[Column("sensorPropCode")]
[MaxLength(50)]
[Required]
public string SensorPropCode { get; set; }
}
}