This commit is contained in:
Zeeshaun
2026-03-13 09:27:34 -05:00
parent 256f579489
commit a675c5f5b0
381 changed files with 20992 additions and 0 deletions
@@ -0,0 +1,21 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>netstandard2.0</TargetFramework>
<LangVersion>latest</LangVersion>
<GeneratePackageOnBuild>True</GeneratePackageOnBuild>
<Version>1.0.0</Version>
<Description>
1.0.0 - Initial Creation of Models Library.
</Description>
<PackageReleaseNotes>
1.0.0 - Initial Creation of Models Library.
</PackageReleaseNotes>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="LCU.Library.Internal.ApiResponse" Version="3.4.1" />
<PackageReference Include="System.ComponentModel.Annotations" Version="5.0.0" />
</ItemGroup>
</Project>
@@ -0,0 +1,22 @@
using System;
namespace LCU.Library.Internal.RepoApiModels.Models
{
public class RepoSyncBatch
{
public int RepoSyncBatchId { get; set; }
public int RepoSyncRunInfoId { get; set; }
public string AuditItemKey { get; set; }
public DateTime? RepoSyncCompletionDateTime { get; set; }
public string Outcome { get; set; }
public string Message { get; set; }
public string QueuedBy { get; set; }
public string AccountId { get; set; }
public string Pretty()
{
var parts = AuditItemKey.Split(':');
return $"Key: {parts[0]}|{AccountId}|{parts[1]}|{QueuedBy} -> {Outcome} : {Message}";
}
}
}
@@ -0,0 +1,20 @@
using LCU.Library.Internal.ApiResponse.Models;
using System;
using System.ComponentModel.DataAnnotations;
using System.Reflection;
namespace LCU.Library.Internal.RepoApiModels.Models
{
public class RepoSyncRunInfo
{
[Key]
public int RepoSyncRunInfoId { get; set; }
public DateTime RepoStartDateTime { get; set; }
public DateTime? RepoEndDateTime { get; set; }
public int RepoSyncCompletedCount { get; set; }
public int RepoSyncTotalCount { get; set; }
public string InitialRequest { get; set; }
}
}
@@ -0,0 +1,16 @@
using System;
namespace LCU.Library.Internal.RepoApiModels.Models.Requests
{
public class RepoAccountProcessingRequest
{
public string AccountNo { get; set; }
public string AccountId { get; set; }
public string CaseId { get; set; }
public string QueuedBy { get; set; }
public string DetermineAuditItemKey()
{
return AccountNo + ":" + CaseId;
}
}
}
@@ -0,0 +1,8 @@
using LCU.Library.Internal.ApiResponse.Models;
namespace LCU.Library.Internal.RepoApiModels.Models.Requests
{
public class RepoBatchRequest : ReturnResponse
{
}
}