Files
monorepo/LCU.Api.Internal.DataCleanUp/LCU.Library.Internal.DataCleanUpModel/Models/FannieMaeMortgageUpdateRequest.cs
T
2026-03-13 09:28:55 -05:00

36 lines
995 B
C#

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<string> EmailSummaryRecipients { get; set; }
[NotMapped]
public string FinalSourcePath
{
get
{
var path = SourcePath.EndsWith("\\") ? $"{SourcePath}" : $"{SourcePath}\\";
return path;
}
}
}
}