using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; using LCU.Library.Internal.FileOperationsModels.Models.NameSettings; using LCU.Library.Internal.ApiResponse.Models; namespace LCU.Library.Internal.DataCleanUpModel.Models { public class FannieMaeMortgageRequest : ReturnResponse { [Required] public string SourcePath { get; set; } [Required] public string Filename { get; set; } public DynamicNameSetting DynamicFileSettings { get; set; } [Required] public string ErrorDestinationPath { get; set; } [Required] public List EmailSummaryRecipients { get; set; } [NotMapped] public string FinalSourcePath { get { var path = SourcePath.EndsWith("\\") ? $"{SourcePath}" : $"{SourcePath}\\"; return path; } } } }