base_gateway.cs
1.54 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
using System;
using SqlSugar;
namespace Hh.Mes.POJO.Entity
{
/// <summary>
/// 网关信息
/// </summary>
[SugarTable("base_gateway")]
public partial class base_gateway:base_entity
{
/// <summary>
/// 主键
/// </summary>
[SugarColumn(IsPrimaryKey = true, IsIdentity = true)]
public int id { get; set; }
/// <summary>
/// key
/// </summary>
[SugarColumn(ColumnDescription = "key", IsNullable = false)]
public Guid gatewayKey { get; set; }
/// <summary>
/// 网关设备序列号
/// </summary>
[SugarColumn(Length = 100, ColumnDescription = "网关序列号", IsNullable = false)]
public string gatewaySerialNumber { get; set; }
/// <summary>
/// 网关接口
/// </summary>
[SugarColumn(Length = 50, ColumnDescription = "网关接口", IsNullable = true)]
public string gateway { get; set; }
/// <summary>
/// 密码
/// </summary>
[SugarColumn(Length = 50, ColumnDescription = "密码", IsNullable = true)]
public string password { get; set; }
/// <summary>
/// 备注
/// </summary>
[SugarColumn(Length = 500, ColumnDescription = "备注", IsNullable = true)]
public string remark { get; set; }
/// <summary>
/// 是否领用
/// </summary>
[SugarColumn(Length =4,ColumnDescription ="是否领用",IsNullable =false)]
public bool isUse { get; set; }
}
}