This commit is contained in:
Zeeshaun
2026-03-13 09:28:55 -05:00
parent a675c5f5b0
commit 4e6099ff5c
184 changed files with 13756 additions and 0 deletions
@@ -0,0 +1,40 @@
using LCU.Library.Internal.FileOperationsModels.Models.NameSettings;
using LCU.Library.Internal.ApiResponse.Models;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Text;
namespace LCU.Library.Internal.DataCleanUpModel.Models
{
public class NcoaUpdateRequest : 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; }
[Required]
public string ExclusionFilePath { get; set; }
[Required]
[Range(-1000, 0, ErrorMessage = "Value must be 0 or a negative number. ")]
public int ExclusionDays { get; set; } = -180;
[NotMapped]
public string FinalSourcePath
{
get
{
var path = SourcePath.EndsWith("\\") ? $"{SourcePath}" : $"{SourcePath}\\";
return path;
}
}
}
}