wanshenmean
2 天以前 5e851678cc02257bbbd179446de36082430ca5bc
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
using SqlSugar;
using System;
 
namespace WIDESEA_Model.Models
{
    /// <summary>
    /// MES接口调用日志实体
    /// </summary>
    [SugarTable("Dt_MesApiLog")]
    public class Dt_MesApiLog
    {
        /// <summary>
        /// 主键ID
        /// </summary>
        [SugarColumn(IsPrimaryKey = true, IsIdentity = true)]
        public long Id { get; set; }
 
        /// <summary>
        /// 接口类型:InboundInContainer, OutboundInContainer, BindContainer, UnbindContainer, ContainerNgReport
        /// </summary>
        [SugarColumn(Length = 50, IsNullable = false)]
        public string ApiType { get; set; }
 
        /// <summary>
        /// 请求JSON
        /// </summary>
        [SugarColumn(ColumnDataType = "nvarchar(max)", IsNullable = true)]
        public string RequestJson { get; set; }
 
        /// <summary>
        /// 响应JSON
        /// </summary>
        [SugarColumn(ColumnDataType = "nvarchar(max)", IsNullable = true)]
        public string ResponseJson { get; set; }
 
        /// <summary>
        /// 是否成功
        /// </summary>
        [SugarColumn(IsNullable = false)]
        public bool IsSuccess { get; set; }
 
        /// <summary>
        /// 错误信息
        /// </summary>
        [SugarColumn(Length = 500, IsNullable = true)]
        public string ErrorMessage { get; set; }
 
        /// <summary>
        /// 耗时(毫秒)
        /// </summary>
        [SugarColumn(IsNullable = false)]
        public int ElapsedMs { get; set; }
 
        /// <summary>
        /// 创建时间
        /// </summary>
        [SugarColumn(IsNullable = false)]
        public DateTime CreateDate { get; set; }
 
        /// <summary>
        /// 创建人
        /// </summary>
        [SugarColumn(Length = 50, IsNullable = true)]
        public string Creator { get; set; }
 
        /// <summary>
        /// 修改时间
        /// </summary>
        public DateTime? ModifyDate { get; set; }
 
        /// <summary>
        /// 修改人
        /// </summary>
        [SugarColumn(Length = 50, IsNullable = true)]
        public string Modifier { get; set; }
    }
}