AdoS8DecisionRecord.cs 1.4 KB

1234567891011121314151617181920212223242526272829303132333435
  1. namespace Admin.NET.Plugin.AiDOP.Entity.S8;
  2. [SugarTable("ado_s8_decision_record", "S8 决策记录")]
  3. public class AdoS8DecisionRecord
  4. {
  5. [SugarColumn(ColumnName = "id", IsPrimaryKey = true, IsIdentity = true, ColumnDataType = "bigint")]
  6. public long Id { get; set; }
  7. [SugarColumn(ColumnName = "exception_id", ColumnDataType = "bigint")]
  8. public long ExceptionId { get; set; }
  9. [SugarColumn(ColumnName = "decision_type", Length = 64)]
  10. public string DecisionType { get; set; } = string.Empty;
  11. [SugarColumn(ColumnName = "decision_maker_id", ColumnDataType = "bigint")]
  12. public long DecisionMakerId { get; set; }
  13. [SugarColumn(ColumnName = "decision_maker_name", Length = 128)]
  14. public string DecisionMakerName { get; set; } = string.Empty;
  15. [SugarColumn(ColumnName = "decision_basis", Length = 2000, IsNullable = true)]
  16. public string? DecisionBasis { get; set; }
  17. [SugarColumn(ColumnName = "decision_result", Length = 2000, IsNullable = true)]
  18. public string? DecisionResult { get; set; }
  19. [SugarColumn(ColumnName = "decision_remark", Length = 2000, IsNullable = true)]
  20. public string? DecisionRemark { get; set; }
  21. [SugarColumn(ColumnName = "decision_time")]
  22. public DateTime DecisionTime { get; set; } = DateTime.Now;
  23. [SugarColumn(ColumnName = "is_deleted", ColumnDataType = "boolean")]
  24. public bool IsDeleted { get; set; }
  25. }