base_equipment.cs
4.33 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
using System;
using SqlSugar;
namespace Hh.Mes.POJO.Entity
{
[SugarTable("base_equipment")]
public partial class base_equipment: base_Entity
{
/// <summary>
/// 主键
/// </summary>
[SugarColumn(IsPrimaryKey = true, IsIdentity = true)]
public int id { get; set; }
/// <summary>
/// 项目keys
/// </summary>
[SugarColumn(Length = 100, ColumnDescription = "项目keys", IsNullable = false)]
public Guid projectKeys { get; set; }
/// <summary>
/// 厂房编码
/// </summary>
[SugarColumn(Length = 100, ColumnDescription = "厂房编码", IsNullable = false)]
public string factoryCode { get; set; }
/// <summary>
/// 设备编码
/// </summary>
[SugarColumn(Length = 100, ColumnDescription = "设备编码", IsNullable = false)]
public string equipmentCode { get; set; }
/// <summary>
/// 设备名称
/// </summary>
[SugarColumn(Length = 100, ColumnDescription = "设备名称", IsNullable = true)]
public string equipmentName { get; set; }
/// <summary>
/// 设备类型编码
/// </summary>
[SugarColumn(Length = 20, ColumnDescription = "设备类型编码", IsNullable = true)]
public string equipmentTypeCode { get; set; }
/// <summary>
/// 维护规则
/// </summary>
[SugarColumn(ColumnDescription = "维护规则", IsNullable = true)]
public string equipmentMaintainRuleCode { get; set; }
/// <summary>
/// 图片文件路径
/// </summary>
[SugarColumn(Length = 510, ColumnDescription = "图片文件路径", IsNullable = true)]
public string imgSrc { get; set; }
/// <summary>
/// 此处写到这台设备对应的IP,一般为PLC的IP
/// </summary>
[SugarColumn(Length = 40, ColumnDescription = "此处写到这台设备对应的IP,一般为PLC的IP", IsNullable = true)]
public string ip { get; set; }
/// <summary>
/// 所在区域,出于调度目的或其他划分,比如:为兼容转轨堆垛机设定,正常情况下与巷道相同,转轨情况下对应虚拟划分巷道
/// </summary>
[SugarColumn(Length = 100, ColumnDescription = "所在区域,出于调度目的或其他划分,比如:为兼容转轨堆垛机设定,正常情况下与巷道相同,转轨情况下对应虚拟划分巷道", IsNullable = true)]
public string destinationArea { get; set; }
/// <summary>
/// 描述
/// </summary>
[SugarColumn(Length = 1000, ColumnDescription = "描述", IsNullable = true)]
public string remark { get; set; }
/// <summary>
/// 是否启用 false不启用/删除 true 正常/启用
/// </summary>
[SugarColumn(ColumnDescription = "false:禁用 true:正常", IsNullable = false)]
public bool isEnable { get; set; }
/// <summary>
/// 是否有待保养信息 默认false
/// </summary>
[SugarColumn(ColumnDescription = "是否有待保养信息 false 没有 true存在", IsNullable = false)]
public bool isMaintain { get; set; }
/// <summary>
/// 外部编码
/// </summary>
[SugarColumn(ColumnDescription = "外部编码", IsNullable = false)]
public string otherCode { get; set; }
/// <summary>
/// createTime
/// </summary>
[SugarColumn(ColumnDescription = "createTime", IsNullable = true)]
public DateTime createTime { get; set; }
/// <summary>
/// createBy
/// </summary>
[SugarColumn(Length = 100, ColumnDescription = "createBy", IsNullable = true)]
public string createBy { get; set; }
/// <summary>
/// updateTime
/// </summary>
[SugarColumn(ColumnDescription = "updateTime", IsNullable = true)]
public DateTime updateTime { get; set; }
/// <summary>
/// updateBy
/// </summary>
[SugarColumn(Length = 100, ColumnDescription = "updateBy", IsNullable = true)]
public string updateBy { get; set; }
[SugarColumn(ColumnDescription = "出厂时间", IsNullable = true)]
public DateTime startTime { get; set; }
}
}