SysSoftLog.cs
2.13 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
using FreeSql.DataAnnotations;
namespace HHECS.DAQShared.Models
{
[Table(Name = "sys_soft_error_logs")]
public class SysSoftLog : BaseEntity<int>
{
/// <summary>
/// 客户端唯一标识
/// </summary>
[Column(Name = "client_key")]
public Guid ClientKey { get; set; }
/// <summary>
/// 项目编码
/// </summary>
[Column(Name = "project_code")]
public string ProjectCode { get; set; } = null!;
/// <summary>
/// 项目名称
/// </summary>
[Column(Name = "project_name")]
public string ProjectName { get; set; } = null!;
/// <summary>
/// 类型 wcs, ecs, wms, agv, mts, lmes
/// </summary>
public string Types { get; set; } = null!;
/// <summary>
/// 仓库区域
/// </summary>
public string Area { get; set; } = null!;
/// <summary>
/// 错误时间
/// </summary>
[Column(Name = "error_time")]
public DateTime ErrorTime { get; set; }
/// <summary>
/// 错误信息
/// </summary>
[Column(Name = "error_message")]
public string Message { get; set; } = null!;
/// <summary>
/// 错误等级 other, warn, error
/// </summary>
[Column(Name = "error_level")]
public string Level { get; set; } = null!;
/// <summary>
/// 备注
/// </summary>
public string Remarks { get; set; } = null!;
/// <summary>
/// 备用字段1
/// </summary>
[Column(Name = "backup_field1")]
public string BackupField1 { get; set; } = null!;
[Column(Name = "backup_field2")]
public string BackupField2 { get; set; } = null!;
[Column(Name = "backup_field3")]
public string BackupField3 { get; set; } = null!;
[Column(Name = "backup_field4")]
public string BackupField4 { get; set; } = null!;
/// <summary>
/// 创建时间
/// </summary>
[Column(Name = "create_time")]
public DateTime CreateTime { get; set; }
}
}