namespace Landmark.OLA.Models.Loan { public class LoanApplicationFile { public string CosmosLoanId { get; set; } public Guid FileId { get; set; } public string Name { get; set; } public string Section { get; set; } public string SectionId { get; set; } public string Description { get; set; } public LoanApplicationFile(string cosmosLoanId, Guid fileId, string name, string section, string sectionId, string description) { CosmosLoanId = cosmosLoanId; FileId = fileId; Name = name; Section = section; SectionId = sectionId; Description = description; } public string GetBlobPath() { return $"{CosmosLoanId}/{FileId}"; } public Dictionary GetMetadata() { var metadata = new Dictionary { { "Name", Name }, { "Section", Section }, { "SectionId", SectionId.ToString() }, { "Description", Description }, { "CosmosLoanId", CosmosLoanId } }; return metadata; } } }