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