Adding
This commit is contained in:
+18
@@ -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; }
|
||||
}
|
||||
+39
@@ -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; }
|
||||
}
|
||||
+15
@@ -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; }
|
||||
}
|
||||
+6
@@ -0,0 +1,6 @@
|
||||
using LCU.Library.Internal.LCUFilterModels.Pagination;
|
||||
|
||||
namespace LCU.Library.Internal.LoanRateModels.Entities.LoadTestingEntities;
|
||||
public class RateProcessingInfoFilter : Filter
|
||||
{
|
||||
}
|
||||
Reference in New Issue
Block a user