Adding
This commit is contained in:
@@ -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; }
|
||||
}
|
||||
}
|
||||
+16
@@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
+8
@@ -0,0 +1,8 @@
|
||||
using LCU.Library.Internal.ApiResponse.Models;
|
||||
|
||||
namespace LCU.Library.Internal.RepoApiModels.Models.Requests
|
||||
{
|
||||
public class RepoBatchRequest : ReturnResponse
|
||||
{
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user