namespace Admin.NET.Plugin.AiDOP.Entity.S8; [SugarTable("ado_s8_evidence", "S8 证据附件")] public class AdoS8Evidence { [SugarColumn(ColumnName = "id", IsPrimaryKey = true, IsIdentity = true, ColumnDataType = "bigint")] public long Id { get; set; } [SugarColumn(ColumnName = "exception_id", ColumnDataType = "bigint")] public long ExceptionId { get; set; } [SugarColumn(ColumnName = "evidence_type", Length = 32)] public string EvidenceType { get; set; } = "file"; [SugarColumn(ColumnName = "file_name", Length = 512)] public string FileName { get; set; } = string.Empty; [SugarColumn(ColumnName = "file_url", Length = 1024)] public string FileUrl { get; set; } = string.Empty; [SugarColumn(ColumnName = "source_system", Length = 128, IsNullable = true)] public string? SourceSystem { get; set; } [SugarColumn(ColumnName = "uploaded_by", ColumnDataType = "bigint", IsNullable = true)] public long? UploadedBy { get; set; } [SugarColumn(ColumnName = "uploaded_at")] public DateTime UploadedAt { get; set; } = DateTime.Now; [SugarColumn(ColumnName = "is_deleted", ColumnDataType = "boolean")] public bool IsDeleted { get; set; } }