using System.ComponentModel.DataAnnotations; namespace Landmark.OLA.Models.Loan { public static class TermLengths { //All lengths are in months. public class UiTermOption { [Required] public int value; [Required] public string desc; } public static List AvailableTermOptions = [ new UiTermOption {value = 12, desc = "12 months / 1 year"}, new UiTermOption {value = 24, desc = "24 months / 2 years"}, new UiTermOption {value = 36, desc = "36 months / 3 years"}, new UiTermOption {value = 48, desc = "48 months / 4 years"}, new UiTermOption {value = 60, desc = "60 months / 5 years"}, new UiTermOption {value = 63, desc = "63 months"}, new UiTermOption {value = 72, desc = "72 months / 6 years"}, new UiTermOption {value = 75, desc = "75 months"}, new UiTermOption {value = 84, desc = "84 months / 7 years"}, new UiTermOption {value = 96, desc = "96 months / 8 years"}, new UiTermOption {value = 120, desc = "120 months / 10 years"}, new UiTermOption {value = 144, desc = "144 months / 12 years"}, new UiTermOption {value = 180, desc = "180 months / 15 years"}, new UiTermOption {value = 240, desc = "240 months / 20 years"} ]; public static List AvailableTermOptionsWithoutYears = [ new UiTermOption {value = 12, desc = "12 months"}, new UiTermOption {value = 24, desc = "24 months"}, new UiTermOption {value = 36, desc = "36 months"}, new UiTermOption {value = 48, desc = "48 months"}, new UiTermOption {value = 60, desc = "60 months"}, new UiTermOption {value = 63, desc = "63 months"}, new UiTermOption {value = 72, desc = "72 months"}, new UiTermOption {value = 75, desc = "75 months"}, new UiTermOption {value = 84, desc = "84 months"}, new UiTermOption {value = 96, desc = "96 months"}, new UiTermOption {value = 120, desc = "120 months"}, new UiTermOption {value = 144, desc = "144 months"}, new UiTermOption {value = 180, desc = "180 months"}, new UiTermOption {value = 240, desc = "240 months"} ]; public static Dictionary> BoatLoansByAmount = new() { //Loan amount can be greater than or equal to the amount listed here. {0, new List { 48 } }, {10000, new List { 48, 63, 72, 84 } }, {20000, new List { 48, 63, 72, 84, 120, 180, } }, }; public static Dictionary> MfdHomeAndRvByAmount = new() { //Loan amount can be greater than or equal to the amount listed here. {0, new List { 48 } }, {10000, new List { 48, 60, 72, 84 } }, {20000, new List { 48, 60, 72, 84, 120, 180 } }, }; public static List Special = [ 36 ]; public static List HomeEquity = [ 60, 84, 120, 180, 240, ]; public static List MortgageRefiExpress = [ 96, 120, 144, ]; public static List VehiclePreApproval = [ 36, 48, 63, 75, ]; public static Dictionary> TermsByYear = new() { {2023, new List { 36, 48, 63, 75, 84 } }, {2022, new List { 36, 48, 63, 75 } }, {2021, new List { 36, 48, 63 } }, {2020, new List { 36, 48 } } }; public static Dictionary> PowersportByAmount = new() { //Loan amount can be greater than or equal to the amount listed here. {0, new List { 36, 48, 63 } }, {10000, new List { 36, 48, 63, 72 } } }; public static Dictionary> SignatureByAmount = new() { //Loan amount can be greater than or equal to the amount listed here. {0, new List { 12, 24, 36 } }, {5000, new List { 48 } }, }; } }