Adding
This commit is contained in:
+23
@@ -0,0 +1,23 @@
|
||||
using System.ComponentModel.DataAnnotations.Schema;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using System.Text.Json.Serialization;
|
||||
|
||||
namespace LCU.API.Internal.RepoApi.Repos.Models.Settings
|
||||
{
|
||||
public class AccountType
|
||||
{
|
||||
[Required]
|
||||
public int ID { get; set; }
|
||||
[Required]
|
||||
public string AccountTypeCode { get; set; }
|
||||
[Required]
|
||||
public string Description { get; set; }
|
||||
[Required]
|
||||
public bool IsVisible { get; set; }
|
||||
public int? CategoryId { get; set; }
|
||||
|
||||
[ForeignKey("ID")]
|
||||
[JsonIgnore]
|
||||
public LoanCategory LoanCategories { get; set; }
|
||||
}
|
||||
}
|
||||
+14
@@ -0,0 +1,14 @@
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
|
||||
namespace LCU.API.Internal.RepoApi.Repos.Models.Settings
|
||||
{
|
||||
public class AllowedStatusChange
|
||||
{
|
||||
[Required]
|
||||
public int ID { get; set; }
|
||||
[Required]
|
||||
public string CurrentStatus { get; set; }
|
||||
[Required]
|
||||
public string AllowedChangeStatus { get; set; }
|
||||
}
|
||||
}
|
||||
+12
@@ -0,0 +1,12 @@
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
|
||||
namespace LCU.API.Internal.RepoApi.Repos.Models.Settings
|
||||
{
|
||||
public class BodyStyle
|
||||
{
|
||||
[Required]
|
||||
public string Code { get; set; }
|
||||
[Required]
|
||||
public string Description { get; set; }
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
|
||||
namespace LCU.API.Internal.RepoApi.Repos.Models.Settings
|
||||
{
|
||||
public class BranchEntry
|
||||
{
|
||||
public string BranchId { get; set; }
|
||||
public string BranchName { get; set; }
|
||||
}
|
||||
}
|
||||
+12
@@ -0,0 +1,12 @@
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
|
||||
namespace LCU.API.Internal.RepoApi.Repos.Models.Settings
|
||||
{
|
||||
public class CleaningLevel
|
||||
{
|
||||
[Required]
|
||||
public int Code { get; set; }
|
||||
[Required]
|
||||
public string Description { get; set; }
|
||||
}
|
||||
}
|
||||
+12
@@ -0,0 +1,12 @@
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
|
||||
namespace LCU.API.Internal.RepoApi.Repos.Models.Settings
|
||||
{
|
||||
public class CleaningLevelCodes_NN
|
||||
{
|
||||
[Required]
|
||||
public int Code { get; set; }
|
||||
[Required]
|
||||
public string Description { get; set; }
|
||||
}
|
||||
}
|
||||
+12
@@ -0,0 +1,12 @@
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
|
||||
namespace LCU.API.Internal.RepoApi.Repos.Models.Settings
|
||||
{
|
||||
public class CodeDescriptionPairs
|
||||
{
|
||||
[Required]
|
||||
public int Code { get; set; }
|
||||
[Required]
|
||||
public string Description { get; set; }
|
||||
}
|
||||
}
|
||||
+14
@@ -0,0 +1,14 @@
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
|
||||
namespace LCU.API.Internal.RepoApi.Repos.Models.Settings
|
||||
{
|
||||
public class CollateralType
|
||||
{
|
||||
[Required]
|
||||
public int ID { get; set; }
|
||||
[Required]
|
||||
public string Description { get; set; }
|
||||
[Required]
|
||||
public string LookupHandler { get; set; }
|
||||
}
|
||||
}
|
||||
+14
@@ -0,0 +1,14 @@
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
|
||||
namespace LCU.API.Internal.RepoApi.Repos.Models.Settings
|
||||
{
|
||||
public class CollateralTypeToVehicleType
|
||||
{
|
||||
[Required]
|
||||
public int ID { get; set; }
|
||||
[Required]
|
||||
public int CollateralTypeId { get; set; }
|
||||
[Required]
|
||||
public int VehicleTypeId { get; set; }
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,12 @@
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
|
||||
namespace LCU.API.Internal.RepoApi.Repos.Models.Settings
|
||||
{
|
||||
public class HoldStatus
|
||||
{
|
||||
[Required]
|
||||
public int Code { get; set; }
|
||||
[Required]
|
||||
public string Description { get; set; }
|
||||
}
|
||||
}
|
||||
+12
@@ -0,0 +1,12 @@
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
|
||||
namespace LCU.API.Internal.RepoApi.Repos.Models.Settings
|
||||
{
|
||||
public class LoanCategory
|
||||
{
|
||||
[Required]
|
||||
public int ID { get; set; }
|
||||
[Required]
|
||||
public string CategoryName { get; set; }
|
||||
}
|
||||
}
|
||||
+12
@@ -0,0 +1,12 @@
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
|
||||
namespace LCU.API.Internal.RepoApi.Repos.Models.Settings
|
||||
{
|
||||
public class LocationType
|
||||
{
|
||||
[Required]
|
||||
public int Code { get; set; }
|
||||
[Required]
|
||||
public string Description { get; set; }
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,26 @@
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace LCU.API.Internal.RepoApi.Repos.Models.Settings
|
||||
{
|
||||
public class Settings
|
||||
{
|
||||
public IEnumerable<AccountType> AccountTypes { get; set; }
|
||||
public IEnumerable<AllowedStatusChange> AllowedStatusChanges { get; set; }
|
||||
public IEnumerable<BodyStyle> BodyStyles { get; set; }
|
||||
public IEnumerable<CleaningLevel> CleaningLevels { get; set; }
|
||||
public IEnumerable<CollateralType> CollateralTypes { get; set; }
|
||||
public IEnumerable<CollateralTypeToVehicleType> CollateralTypesToVehicleTypes { get; set; }
|
||||
public IEnumerable<HoldStatus> HoldStatuses { get; set; }
|
||||
public IEnumerable<LoanCategory> LoanCategories { get; set; }
|
||||
public IEnumerable<LocationType> LocationTypes { get; set; }
|
||||
public IEnumerable<VehicleType> VehicleTypes { get; set; }
|
||||
public IEnumerable<BranchEntry> BranchSet { get; set; }
|
||||
public IReadOnlyCollection<ExternalUser> ExternalUsers { get; set; }
|
||||
public IReadOnlyCollection<RepoCompany> RepoCompanies { get; set; }
|
||||
public IReadOnlyCollection<string> TransactionTypeCodes { get; set; }
|
||||
public string TransactionTypeCodeQueryPrefix { get; set; }
|
||||
public string TransactionHistoryParameterDateFormat { get; set; }
|
||||
public int TransactionHistoryStartDateOffset { get; set; }
|
||||
public IReadOnlyDictionary<int, string> RepoTypeMap { get; set; }
|
||||
}
|
||||
}
|
||||
+12
@@ -0,0 +1,12 @@
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
|
||||
namespace LCU.API.Internal.RepoApi.Repos.Models.Settings
|
||||
{
|
||||
public class VehicleType
|
||||
{
|
||||
[Required]
|
||||
public string Code { get; set; }
|
||||
[Required]
|
||||
public string Description { get; set; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user