This commit is contained in:
Zeeshaun
2026-04-07 14:21:04 -05:00
parent e37826fe30
commit 75ea216a17
264 changed files with 15920 additions and 0 deletions
@@ -0,0 +1,18 @@
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using LCU.Library.Internal.LoanRateModels.Enums;
namespace LCU.Library.Internal.LoanRateModels.Entities.LoadTestingEntities;
public class LoadTestRunInfo
{
public int LoadTestRunInfoId { get; set; }
public DateTime StartTimeStamp { get; set; }
public DateTime? EndTimeStamp { get; set; } = null;
public RateTypes RateType { get; set; }
public int RateProcessingInfosCount { get; set; }
public int RateProcessingInfosCompleteCount { get; set; } = 0;
[ForeignKey("LoadTestRunInfoId")]
public ICollection<RateProcessingInfo> RateProcessingInfos { get; set; }
}
@@ -0,0 +1,39 @@
using System;
using System.Collections.Generic;
using LCU.Library.Internal.LCUFilterModels.Pagination;
using LCU.Library.Internal.LoanRateModels.Enums;
namespace LCU.Library.Internal.LoanRateModels.Entities.LoadTestingEntities;
public class LoadTestRunInfoFilter : Filter
{
public LoadTestRunInfoFilter()
{
SortableFields =
new() {
new SortableField
{
Field = nameof(LoadTestRunInfo.RateType),
DisplayValue = "Rate Type",
Active = false
},
new SortableField
{
Field = nameof(LoadTestRunInfo.StartTimeStamp),
DisplayValue = "Start Time",
IsDescending = true,
Active = true
},
new SortableField
{
Field = nameof(LoadTestRunInfo.EndTimeStamp),
DisplayValue = "End Time",
Active = false
},
};
}
public bool InProgress { get; set; }
public List<RateTypes> RateTypes { get; set; } = new();
public DateTime? StartTimeStamp { get; set; }
public DateTime? EndTimeStamp { get; set; }
}
@@ -0,0 +1,15 @@
using LCU.Library.Internal.LoanRateModels.Enums.LoadTestingEnums;
namespace LCU.Library.Internal.LoanRateModels.Entities.LoadTestingEntities;
public class RateProcessingInfo
{
public int RateProcessingInfoId { get; set; }
public int LoadTestRunInfoId { get; set; }
public string Payload { get; set; }
public decimal Rate { get; set; }
public string Column { get; set; }
public string Row { get; set; }
public RateProcessingStatusTypes RateProcessingStatusType { get; set; }
public RateProcessingResultTypes RateProcessingResultType { get; set; }
public string ProcessingMessage { get; set; }
}
@@ -0,0 +1,6 @@
using LCU.Library.Internal.LCUFilterModels.Pagination;
namespace LCU.Library.Internal.LoanRateModels.Entities.LoadTestingEntities;
public class RateProcessingInfoFilter : Filter
{
}