MdpEntityCursorAudit.cs 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. namespace Admin.NET.Plugin.AiDOP.Entity.DataPlatform;
  2. [SugarTable("mdp_entity_cursor_audit", "MDP实体水位操作审计")]
  3. public class MdpEntityCursorAudit
  4. {
  5. [SugarColumn(ColumnName = "id", IsPrimaryKey = true, IsIdentity = true)]
  6. public long Id { get; set; }
  7. [SugarColumn(ColumnName = "tenant_id")]
  8. public long TenantId { get; set; }
  9. [SugarColumn(ColumnName = "entity_id")]
  10. public long EntityId { get; set; }
  11. [SugarColumn(ColumnName = "entity_code", Length = 100)]
  12. public string EntityCode { get; set; } = string.Empty;
  13. [SugarColumn(ColumnName = "old_cursor", Length = 500, IsNullable = true)]
  14. public string? OldCursor { get; set; }
  15. [SugarColumn(ColumnName = "new_cursor", Length = 500, IsNullable = true)]
  16. public string? NewCursor { get; set; }
  17. [SugarColumn(ColumnName = "action_type", Length = 40)]
  18. public string ActionType { get; set; } = string.Empty;
  19. [SugarColumn(ColumnName = "reason", Length = 500)]
  20. public string Reason { get; set; } = string.Empty;
  21. [SugarColumn(ColumnName = "operator_id", IsNullable = true)]
  22. public long? OperatorId { get; set; }
  23. [SugarColumn(ColumnName = "operator_name", Length = 100, IsNullable = true)]
  24. public string? OperatorName { get; set; }
  25. [SugarColumn(ColumnName = "create_time")]
  26. public DateTime CreateTime { get; set; }
  27. }