This commit is contained in:
Zeeshaun
2026-03-24 15:26:03 -05:00
parent 1e5beb292a
commit 9cc87337b8
333 changed files with 17931 additions and 0 deletions
@@ -0,0 +1,36 @@
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
namespace LCU.Library.Internal.DispatcherModels.Models.Results
{
public class CleanUpJobBatchResult
{
public List<string> Messages { get; set; } = new List<string>();
public int FailureCount { get; set; } = 0;
[NotMapped]
public bool IsSuccessfull
{
get
{
return FailureCount == 0;
}
}
[NotMapped]
public bool IsFailure
{
get
{
return FailureCount > 0;
}
}
public void AddToFailureCount(string message)
{
Messages.Add(message);
FailureCount++;
}
}
}
@@ -0,0 +1,8 @@
using System.Collections.Generic;
namespace LCU.Library.Internal.DispatcherModels.Models.Results;
public class PagedResult<T> where T : class
{
public IEnumerable<T> Items { get; set; }
public int Total { get; set; }
}