using SqlSugar; namespace MES.Service.Modes; /// /// [SugarTable("MESSAGE_CENTER")] public class MessageCenter { /// /// 主键 /// 默认值: (newid()) /// [SugarColumn(ColumnName = "guid", IsPrimaryKey = true)] public Guid Guid { 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; } /// /// 是否成功 0表示失败 1 表示成功 /// [SugarColumn(ColumnName = "result")] public int? Result { get; set; } /// /// 返回的JSON /// [SugarColumn(ColumnName = "result_data")] public string? ResultData { get; set; } /// /// 状态 0表示未推送 1 表示已推送 /// [SugarColumn(ColumnName = "status")] public int? 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表示已处理 /// 默认值: ((0)) /// [SugarColumn(ColumnName = "deal_with")] public int? DealWith { get; set; } /// /// 批次id /// [SugarColumn(ColumnName = "pid")] public Guid? Pid { get; set; } /// /// 执行顺序 /// 默认值: ((1)) /// [SugarColumn(ColumnName = "seq")] public int? Seq { get; set; } /// /// 页面路径 /// [SugarColumn(ColumnName = "route")] public string? Route { get; set; } /// /// [SugarColumn(ColumnName = "data")] public string? Data { get; set; } /// /// 参数类型 /// [SugarColumn(ColumnName = "content_type")] public string? ContentType { get; set; } /// /// 是否是消息 0为推送失败 1为消息 /// [SugarColumn(ColumnName = "is_message")] public int? IsMessage { get; set; } /// /// 修改时间 /// [SugarColumn(ColumnName = "update_date")] public string? UpdateDate { get; set; } /// /// 修改人 /// [SugarColumn(ColumnName = "update_by")] public string? UpdateBy { get; set; } /// /// MES存储过程 /// [SugarColumn(ColumnName = "prc_mame")] public string? PrcMame { get; set; } [SugarColumn(IsIgnore = true)] public int? isShow { get; set; } [SugarColumn(IsIgnore = true)] public decimal? Count { get; set; } }