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,37 @@
using System;
using System.ComponentModel.DataAnnotations;
using LCU.API.Internal.RepoApi.Repos.Models.Producer;
namespace LCU.API.Internal.RepoApi.Repos.Models
{
public class ProcessingReceipt
{
public ProcessingReceipt(string accountNo)
{
AccountNo = accountNo;
AccountId = "";
QueuedBy = "Unknown";
Message = "";
Outcome = RepoProcessingResult.Error;
Processed = DateTime.Now;
}
public string AccountNo { get; protected set; }
[Required]
public string AccountId { get; set; }
[Required]
public string CaseId { get; set; }
[Required]
[MaxLength(40)]
public string QueuedBy { get; set; }
public RepoProcessingResult Outcome { get; set; }
public string Message { get; set; }
public DateTime Processed { get; set; }
public string Pretty()
{
return $"Key: {AccountNo}|{AccountId}|{CaseId}|{QueuedBy} -> {Outcome} : {Message}";
}
}
}