AdoS8Evidence.cs 1.2 KB

1234567891011121314151617181920212223242526272829303132
  1. namespace Admin.NET.Plugin.AiDOP.Entity.S8;
  2. [SugarTable("ado_s8_evidence", "S8 证据附件")]
  3. public class AdoS8Evidence
  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 = "evidence_type", Length = 32)]
  10. public string EvidenceType { get; set; } = "file";
  11. [SugarColumn(ColumnName = "file_name", Length = 512)]
  12. public string FileName { get; set; } = string.Empty;
  13. [SugarColumn(ColumnName = "file_url", Length = 1024)]
  14. public string FileUrl { get; set; } = string.Empty;
  15. [SugarColumn(ColumnName = "source_system", Length = 128, IsNullable = true)]
  16. public string? SourceSystem { get; set; }
  17. [SugarColumn(ColumnName = "uploaded_by", ColumnDataType = "bigint", IsNullable = true)]
  18. public long? UploadedBy { get; set; }
  19. [SugarColumn(ColumnName = "uploaded_at")]
  20. public DateTime UploadedAt { get; set; } = DateTime.Now;
  21. [SugarColumn(ColumnName = "is_deleted", ColumnDataType = "boolean")]
  22. public bool IsDeleted { get; set; }
  23. }