using SqlSugar; namespace MES.Service.Modes; /// /// [SugarTable("MESSAGE_CENTER")] public class MessageCenter { /// /// 对应序列SEQ_MSG /// [SugarColumn(IsPrimaryKey = true, OracleSequenceName = "SEQ_MSG", ColumnName = "ID")] public decimal? Id { get; set; } /// /// 表名/视图名 /// [SugarColumn(ColumnName = "TABLE_NAME")] public string? TableName { get; set; } /// /// 请求地址 /// [SugarColumn(ColumnName = "URL")] public string? Url { get; set; } /// /// 请求方式 /// [SugarColumn(ColumnName = "METHOD")] public string? Method { get; set; } /// /// 请求内容 /// [SugarColumn(ColumnName = "DATA")] public string? Data { get; set; } /// /// 是否成功 0表示失败 1 表示成功 /// [SugarColumn(ColumnName = "RESULT")] public short? Result { get; set; } /// /// 返回的JSON /// [SugarColumn(ColumnName = "RESULT_DATA")] public string? ResultData { get; set; } /// /// 状态 0表示未推送 1 表示已推送 /// [SugarColumn(ColumnName = "STATUS")] public short? Status { get; set; } /// /// 创建人 /// [SugarColumn(ColumnName = "CREATE_BY")] public string? CreateBy { get; set; } /// /// 创建时间 /// [SugarColumn(ColumnName = "CREATE_DATE")] public string? CreateDate { get; set; } /// /// 业务标题 /// [SugarColumn(ColumnName = "TITLE")] public string? Title { get; set; } /// /// 页面名称 /// [SugarColumn(ColumnName = "PAGE_NAME")] public string? PageName { get; set; } /// /// 是否处理,0表示未处理 1表示已处理 /// [SugarColumn(ColumnName = "DEAL_WITH")] public short? DealWith { get; set; } /// /// 批次 /// [SugarColumn(ColumnName = "PID")] public int? Pid { get; set; } /// /// 执行顺序 /// [SugarColumn(ColumnName = "SEQ")] public short? Seq { get; set; } /// /// 页面路径 /// [SugarColumn(ColumnName = "ROUTE")] public string? Route { get; set; } /// /// 参数类型 /// [SugarColumn(ColumnName = "Content_Type")] public string? ContentType { get; set; } // /// /// 是否是消息 0为推送失败 1为消息,默认为0 /// [SugarColumn(ColumnName = "is_message")] public short? IsMessage { get; set; } /// /// 最后一次修改人 /// [SugarColumn(ColumnName = "UPDATE_BY")] public string? UpdateBy { get; set; } /// /// 最后一次修改时间 /// [SugarColumn(ColumnName = "UPDATE_DATE")] public string? UpdateDate { get; set; } [SugarColumn(IsIgnore = true)] public int? isShow { get; set; } [SugarColumn(IsIgnore = true)] public decimal? Count { get; set; } }