Adding
This commit is contained in:
+9
@@ -0,0 +1,9 @@
|
||||
using LCU.Library.Internal.ApiResponse.Models;
|
||||
|
||||
namespace LCU.Library.Internal.DataCleanUpModel.Models
|
||||
{
|
||||
public class CreditReportTypeRequest : ReturnResponse
|
||||
{
|
||||
public string SourcePath { get; set; }
|
||||
}
|
||||
}
|
||||
+11
@@ -0,0 +1,11 @@
|
||||
using LCU.Library.Internal.ApiResponse.Models;
|
||||
using LCU.Library.Internal.DataCleanUpModel.Enum;
|
||||
|
||||
namespace LCU.Library.Internal.DataCleanUpModel.Models
|
||||
{
|
||||
public class DataCleanUpRequest : ReturnResponse
|
||||
{
|
||||
public CleanUpTypes CleanUpType { get; set; }
|
||||
public string DataCleanUpPayload { get; set; }
|
||||
}
|
||||
}
|
||||
+20
@@ -0,0 +1,20 @@
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace LCU.Library.Internal.DataCleanUpModel.Models
|
||||
{
|
||||
public class DataCleanUpResult
|
||||
{
|
||||
public DataCleanUpResult(DataCleanUpRequest request,
|
||||
bool successful,
|
||||
List<string> responseStack)
|
||||
{
|
||||
Request = request;
|
||||
Successful = successful;
|
||||
ResponseStack = responseStack;
|
||||
}
|
||||
|
||||
public DataCleanUpRequest Request { get; set; }
|
||||
public bool Successful { get; set; }
|
||||
public List<string> ResponseStack { get; set; }
|
||||
}
|
||||
}
|
||||
+35
@@ -0,0 +1,35 @@
|
||||
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;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
+14
@@ -0,0 +1,14 @@
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using LCU.Library.Internal.ApiResponse.Models;
|
||||
|
||||
namespace LCU.Library.Internal.DataCleanUpModel.Models
|
||||
{
|
||||
public class IndirectFundingRequest : ReturnResponse
|
||||
{
|
||||
[Required]
|
||||
public string Filename { get; set; }
|
||||
|
||||
[Required]
|
||||
public string SummaryFileDestinationPath { get; set; }
|
||||
}
|
||||
}
|
||||
+40
@@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
+23
@@ -0,0 +1,23 @@
|
||||
using System;
|
||||
using LCU.Library.Internal.ApiResponse.Models;
|
||||
|
||||
namespace LCU.Library.Internal.DataCleanUpModel.Models
|
||||
{
|
||||
public class UpdatePersonForCheckHoldRequest : ReturnResponse
|
||||
{
|
||||
private int? fetchSize;
|
||||
public DateTime? ResetStartDate { get; set; }
|
||||
public DateTime? ResetEndDate { get; set; }
|
||||
public int? FetchSize
|
||||
{
|
||||
get
|
||||
{
|
||||
return fetchSize;
|
||||
}
|
||||
set
|
||||
{
|
||||
fetchSize = value != 0 ? value : null;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user