using System; using System.Collections.Generic; using GB5Shared.FileUpload; namespace FrameworkDAL.DTO.ECM { using Guid = System.Guid; /// /// Carries all attachment level mappings for a single entity save request. /// Sent from the frontend as part of the save request body. /// BLL resolves each LevelAttachmentMap's ObjectId before calling /// IAttachmentResolutionService.ResolveAsync inside the entity transaction. /// public class AttachmentResolutionEnvelope { public List LevelMappings { get; set; } = new(); /// OBJECTTYPEID of the root/header entity (FK to MENTITY.ENTITYID). public int ObjectHeaderTypeId { get; set; } /// RowGuid sent from FE for the header row — used to locate deferred attachments. public Guid HeaderRowGuid { get; set; } } }