23 lines
710 B
C#
23 lines
710 B
C#
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}";
|
|
}
|
|
}
|
|
}
|