equipmentalarmOther.cs
1.39 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
using TableAttribute = System.ComponentModel.DataAnnotations.Schema.TableAttribute;
using ColumnAttribute = System.ComponentModel.DataAnnotations.Schema.ColumnAttribute;
using System.ComponentModel.DataAnnotations;
using System;
using System.ComponentModel.DataAnnotations.Schema;
using FreeSql.DataAnnotations;
namespace HHECS.Model.Entities
{
/// <summary>
/// 设备报警记录 不是联机自动的
/// </summary>
[Table("equipmentalarmOther")]
public class equipmentalarmOther : BaseEntityCU<long>
{
[Column(Order = 2)]
[MaxLength(50)]
public string EquipmentCode { get; set; }
[Column(Order = 3)]
[MaxLength(50)]
public string EquipmentName { get; set; }
[Column(Order = 4)]
[MaxLength(50)]
public string EquipmentPropCode { get; set; }
[Column(Order = 5)]
[MaxLength(50)]
public string EquipmentPropName { get; set; }
[Column(Order = 6)]
[MaxLength(2000)]
public string Alarm { get; set; }
/// <summary>
/// 报警记录是否结束,默认超过5秒没有接收到报警更新,则结束此条持续报警
/// </summary>
[Column(Order = 7)]
public bool IsEnd { get; set; }
/// <summary>
/// 仓库
/// </summary>
[Column(Order = 8)]
public string WarehouseCode { get; set; }
}
}