namespace Admin.NET.Plugin.AiDOP.Entity.DataPlatform; [SugarTable("mdp_entity_cursor_audit", "MDP实体水位操作审计")] public class MdpEntityCursorAudit { [SugarColumn(ColumnName = "id", IsPrimaryKey = true, IsIdentity = true)] public long Id { get; set; } [SugarColumn(ColumnName = "tenant_id")] public long TenantId { get; set; } [SugarColumn(ColumnName = "entity_id")] public long EntityId { get; set; } [SugarColumn(ColumnName = "entity_code", Length = 100)] public string EntityCode { get; set; } = string.Empty; [SugarColumn(ColumnName = "old_cursor", Length = 500, IsNullable = true)] public string? OldCursor { get; set; } [SugarColumn(ColumnName = "new_cursor", Length = 500, IsNullable = true)] public string? NewCursor { get; set; } [SugarColumn(ColumnName = "action_type", Length = 40)] public string ActionType { get; set; } = string.Empty; [SugarColumn(ColumnName = "reason", Length = 500)] public string Reason { get; set; } = string.Empty; [SugarColumn(ColumnName = "operator_id", IsNullable = true)] public long? OperatorId { get; set; } [SugarColumn(ColumnName = "operator_name", Length = 100, IsNullable = true)] public string? OperatorName { get; set; } [SugarColumn(ColumnName = "create_time")] public DateTime CreateTime { get; set; } }