ClientConfig.cs
1.12 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
using FreeSql.DataAnnotations;
using System.ComponentModel.DataAnnotations;
namespace HHECS.DAQShared.Models
{
/// <summary>
/// 客户端状态
/// </summary>
[Table(Name = "daq_client_config")]
public class ClientConfig: BaseEntity<Guid>
{
/// <summary>
/// 客户端名称
/// </summary>
public string Name { get; set; } = null!;
public string Type { get; set; } = null!;
/// <summary>
/// 项目编号
/// </summary>
public string ProjectCode { get; set; }= null!;
/// <summary>
/// 仓库编号
/// </summary>
public string FactoryCode { get; set; } = null!;
/// <summary>
/// 最后更新时间
/// </summary>
public DateTime LastSeenDate { get; set; }
/// <summary>
/// 备注
/// </summary>
public string Remark { get; set; } = null!;
[Column(Position = 40)]
public DateTime? Created { get; set; }
[Column(Position = 41)]
[MaxLength(20)]
public string CreatedBy { get; set; } = null!;
}
}