using System.Collections.Generic; namespace GB5Shared.FileUpload { /// /// Correlates a pre-upload TempRefKey to the real entity ID after save. /// One instance per attachment level (header, line, sub-detail). /// BLL populates ObjectId from the newly assigned entity ID before calling /// IAttachmentResolutionService. /// public class LevelAttachmentMap { public string TempRefKey { get; set; } = string.Empty; public int ObjectTypeId { get; set; } public int BizTransactionTypeId { get; set; } public int ObjectId { get; set; } // set by BLL after ID generation public List AttachmentIds { get; set; } = new(); } }