| 1234567891011121314151617181920212223242526272829 |
- namespace Admin.NET.Plugin.AiDOP.Entity.S8;
- /// <summary>
- /// 通知发送日志(规则命中后的落库;非「列表 SQL 结果集」独立业务对象)。
- /// </summary>
- [SugarTable("ado_s8_notification_log", "S8 通知日志")]
- public class AdoS8NotificationLog
- {
- [SugarColumn(ColumnName = "id", IsPrimaryKey = true, IsIdentity = true, ColumnDataType = "bigint")]
- public long Id { get; set; }
- [SugarColumn(ColumnName = "tenant_id", ColumnDataType = "bigint")]
- public long TenantId { get; set; }
- [SugarColumn(ColumnName = "factory_id", ColumnDataType = "bigint")]
- public long FactoryId { get; set; }
- [SugarColumn(ColumnName = "exception_id", ColumnDataType = "bigint", IsNullable = true)]
- public long? ExceptionId { get; set; }
- [SugarColumn(ColumnName = "channel", Length = 64)]
- public string Channel { get; set; } = "log";
- [SugarColumn(ColumnName = "payload", Length = 4000, IsNullable = true)]
- public string? Payload { get; set; }
- [SugarColumn(ColumnName = "created_at")]
- public DateTime CreatedAt { get; set; } = DateTime.Now;
- }
|