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,14 @@
using System.ComponentModel.DataAnnotations;
namespace LCU.Library.Internal.DataCleanUpModel.Entities
{
public class Ltv_DataCleanUp
{
[Key]
public int LoanToValueId { get; set; }
public string AccountNumber { get; set; }
public double Ltv { get; set; }
public string MinorType { get; set; }
}
}
@@ -0,0 +1,23 @@
namespace LCU.Library.Internal.DataCleanUpModel.Enum
{
public enum CleanUpTypes
{
HyphenatedUserId = 0,
DeactivateCustodialEAgreements = 1,
CloseCustodialVruAgreements = 2,
MaskTransactionExternalDescriptionWithSsn = 3,
AddFundsToVipSavingsAccounts = 4,
UpdateAdminBranchCodesByAccountNumber = 5,
UpdateAccountLoanToValue = 6,
UpdateAccountGroupForAnalysis = 7,
UpdatePersonForCheckHolds = 8,
UpdateMissingBatchSavings = 9,
UpdateAccountPmiCancel = 10,
UpdateAccountNickname = 11,
UpdateNcoaProcess = 12,
UpdateAccountCreditReportType = 13,
BatchAddFundsToVipSavingsAccounts = 14,
UpdateFannieMaeMortgage = 15,
AddFundsToIndirectSavingsAccounts = 16
}
}
@@ -0,0 +1,48 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>netstandard2.1</TargetFramework>
<GeneratePackageOnBuild>True</GeneratePackageOnBuild>
<Version>1.0.9</Version>
<Description>
1.0.0 - Initial Creation
1.0.1 - Updated CleanUp Type
1.0.2 - Add NcoaUpdateRequest
1.0.3 - Added CreditReportTypeUpdateRequest
1.0.4 - Update NcoaUpdateProcess model
1.0.5 - Update NcoaUpdateProcess model for exclusion
1.0.6 - Added FannieMae Cleanup Type
1.0.7 - Added IndirectFundingRequest
1.0.8 - Edit IndirectFundingRequest
1.0.9 - Upgraded FileOperations package version
</Description>
<PackageReleaseNotes>
1.0.0 - Initial Creation
1.0.1 - Updated CleanUp Type
1.0.2 - Add NcoaUpdateRequest
1.0.3 - Added CreditReportTypeUpdateRequest
1.0.4 - Update NcoaUpdateProcess model
1.0.5 - Update NcoaUpdateProcess model for exclusion
1.0.6 - Added FannieMae Cleanup Type
1.0.7 - Added IndirectFundingRequest
1.0.8 - Edit IndirectFundingRequest
1.0.9 - Upgraded FileOperations package version
</PackageReleaseNotes>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">
<NoWarn>1701;1702;8618;8605</NoWarn>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|AnyCPU'">
<NoWarn>1701;1702;8618;8605</NoWarn>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="LCU.Library.Internal.ApiResponse.Models" Version="3.3.2" />
<PackageReference Include="LCU.Library.Internal.CoreApiWrapperModel" Version="2.27.14" />
<PackageReference Include="LCU.Library.Internal.FileOperationsModels" Version="4.1.0" />
<PackageReference Include="System.ComponentModel.Annotations" Version="5.0.0" />
</ItemGroup>
</Project>
@@ -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; }
}
}
@@ -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; }
}
}
@@ -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; }
}
}
@@ -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;
}
}
}
}
@@ -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; }
}
}
@@ -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;
}
}
}
}
@@ -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;
}
}
}
}