| 1234567891011121314151617181920212223242526272829303132333435 |
- namespace Admin.NET.Plugin.AiDOP.Entity.S8;
- [SugarTable("ado_s8_notification_layer", "S8 通知分层")]
- public class AdoS8NotificationLayer
- {
- [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 = "scene_code", Length = 64)]
- public string SceneCode { get; set; } = string.Empty;
- [SugarColumn(ColumnName = "severity", Length = 32)]
- public string Severity { get; set; } = "MEDIUM";
- [SugarColumn(ColumnName = "level_code", Length = 32)]
- public string LevelCode { get; set; } = string.Empty;
- [SugarColumn(ColumnName = "target_role_ids", Length = 2000, IsNullable = true)]
- public string? TargetRoleIds { get; set; }
- [SugarColumn(ColumnName = "notify_channel", Length = 128, IsNullable = true)]
- public string? NotifyChannel { get; set; }
- [SugarColumn(ColumnName = "created_at")]
- public DateTime CreatedAt { get; set; } = DateTime.Now;
- [SugarColumn(ColumnName = "updated_at", IsNullable = true)]
- public DateTime? UpdatedAt { get; set; }
- }
|