namespace GB5Shared.DTO.ECM { /// /// Shared request DTO used by BLL for all Base64 upload paths. /// public class FileUploadBase64RequestDTO { // ── File content ────────────────────────────────────────────── public string FileName { get; set; } = string.Empty; public string Base64Content { get; set; } = string.Empty; // ── Object identity ─────────────────────────────────────────── public int ObjectId { get; set; } public int ObjectTypeId { get; set; } public int DocumentDetailId { get; set; } = -1; // ── Attachment meta ─────────────────────────────────────────── public int BizTransactionTypeId { get; set; } = -1; public short SlNo { get; set; } = 1; public int AttachmentType { get; set; } = 0; public int DocumentTypeId { get; set; } = -1; public DateTime? ValidFrom { get; set; } public DateTime? ValidTo { get; set; } public int ClassificationMarkId { get; set; } = -1; public int Status { get; set; } = 1; // ── Display / storage ───────────────────────────────────────── public string DisplayFileName { get; set; } = string.Empty; public string Remarks { get; set; } = string.Empty; public string? Tags { get; set; } public string? LinkUrl { get; set; } public string? Thumbnail { get; set; } // ── Header / parent ─────────────────────────────────────────── public int? ObjectHeaderId { get; set; } public int? ObjectHeaderTypeId { get; set; } public System.Guid? ObjectHeaderGuid { get; set; } // ── Resolver correlation ────────────────────────────────────── public string? RowGuid { get; set; } } }