base_equipment_alarm.cs
2.53 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
using System;
using SqlSugar;
namespace Hh.Mes.POJO.Entity
{
[SugarTable("base_equipment_alarm")]
public partial class base_equipment_alarm
{
/// <summary>
/// 主键
/// </summary>
[SugarColumn(IsPrimaryKey = true, IsIdentity = true)]
public int id { get; set; }
/// <summary>
/// 厂房编码
/// </summary>
[SugarColumn(Length = 32, 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 = false)]
public string equipmentName { get; set; }
/// <summary>
/// 故障类别 1.零件意外失效 2.操作不當 3.一级保養不當 4.二级保養不當 5.维修改善不當 6.設備原有問題 7.調試中 8.定期保養 9.設備改善 10.其他 13.預防預知保養
/// </summary>
[SugarColumn(ColumnDescription = "故障类别", IsNullable = true)]
public int alarmType { get; set; }
/// <summary>
/// 故障内容
/// </summary>
[SugarColumn(Length = 4000, ColumnDescription = "故障内容", IsNullable = false)]
public string alarmContent { get; set; }
/// <summary>
/// 故障开始时间
/// </summary>
[SugarColumn(ColumnDescription = "故障开始时间", IsNullable = false)]
public DateTime startTime { get; set; }
/// <summary>
/// 故障结束时间
/// </summary>
[SugarColumn(ColumnDescription = "故障结束时间", IsNullable = true)]
public DateTime endTime { get; set; }
/// <summary>
/// 是否结束
/// </summary>
[SugarColumn(ColumnDescription = "是否结束", IsNullable = false)]
public bool isEnd { get; set; }
/// <summary>
/// 维修方法
/// </summary>
[SugarColumn(Length = 100, ColumnDescription = "维修方法", IsNullable = false)]
public string faultHandleInfo { get; set; }
/// <summary>
/// 维修人
/// </summary>
[SugarColumn(Length = 100, ColumnDescription = "维修人", IsNullable = false)]
public string handleUser { get; set; }
}
}