This commit is contained in:
Zeeshaun
2026-04-20 14:47:24 -05:00
parent 89057eceea
commit 8b3ea92501
485 changed files with 71042 additions and 0 deletions
@@ -0,0 +1,23 @@
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using Newtonsoft.Json;
namespace LCU.Shared.Collections.RepoApiLib.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; }
}
}
@@ -0,0 +1,18 @@
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Threading.Tasks;
namespace LCU.Shared.Collections.RepoApiLib.Models.Settings
{
public class AllowedStatusChange
{
[Required]
public int ID { get; set; }
[Required]
public string CurrentStatus { get; set; }
[Required]
public string AllowedChangeStatus { get; set; }
}
}
@@ -0,0 +1,12 @@
using System.ComponentModel.DataAnnotations;
namespace LCU.Shared.Collections.RepoApiLib.Models.Settings
{
public class BodyStyle
{
[Required]
public string Code { get; set; }
[Required]
public string Description { get; set; }
}
}
@@ -0,0 +1,12 @@
using System;
using System.Collections.Generic;
using System.Text;
namespace LCU.Shared.Collections.RepoApiLib.Models.Settings
{
public class BranchEntry
{
public string BranchId { get; set; }
public string BranchName { get; set; }
}
}
@@ -0,0 +1,16 @@
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Threading.Tasks;
namespace LCU.Shared.Collections.RepoApiLib.Models.Settings
{
public class CleaningLevel
{
[Required]
public int Code { get; set; }
[Required]
public string Description { get; set; }
}
}
@@ -0,0 +1,14 @@
using System.ComponentModel.DataAnnotations;
namespace LCU.Shared.Collections.RepoApiLib.Models.Settings
{
public class CollateralType
{
[Required]
public int ID { get; set; }
[Required]
public string Description { get; set; }
[Required]
public string LookupHandler { get; set; }
}
}
@@ -0,0 +1,14 @@
using System.ComponentModel.DataAnnotations;
namespace LCU.Shared.Collections.RepoApiLib.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.Shared.Collections.RepoApiLib.Models.Settings
{
public class HoldStatus
{
[Required]
public int Code { get; set; }
[Required]
public string Description { get; set; }
}
}
@@ -0,0 +1,12 @@
using System.ComponentModel.DataAnnotations;
namespace LCU.Shared.Collections.RepoApiLib.Models.Settings
{
public class LoanCategory
{
[Required]
public int ID { get; set; }
[Required]
public string CategoryName { get; set; }
}
}
@@ -0,0 +1,12 @@
using System.ComponentModel.DataAnnotations;
namespace LCU.Shared.Collections.RepoApiLib.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.Shared.Collections.RepoApiLib.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; }
}
}
@@ -0,0 +1,12 @@
using System.ComponentModel.DataAnnotations;
namespace LCU.Shared.Collections.RepoApiLib.Models.Settings
{
public class VehicleType
{
[Required]
public string Code { get; set; }
[Required]
public string Description { get; set; }
}
}