224 lines
6.1 KiB
C#
224 lines
6.1 KiB
C#
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<UiTermOption> 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<UiTermOption> 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<decimal, List<int>> BoatLoansByAmount = new()
|
|
{
|
|
//Loan amount can be greater than or equal to the amount listed here.
|
|
{0,
|
|
new List<int>
|
|
{
|
|
48
|
|
}
|
|
},
|
|
{10000,
|
|
new List<int>
|
|
{
|
|
48,
|
|
63,
|
|
72,
|
|
84
|
|
}
|
|
},
|
|
{20000,
|
|
new List<int>
|
|
{
|
|
48,
|
|
63,
|
|
72,
|
|
84,
|
|
120,
|
|
180,
|
|
}
|
|
},
|
|
};
|
|
|
|
public static Dictionary<decimal, List<int>> MfdHomeAndRvByAmount = new()
|
|
{
|
|
//Loan amount can be greater than or equal to the amount listed here.
|
|
{0,
|
|
new List<int>
|
|
{
|
|
48
|
|
}
|
|
},
|
|
{10000,
|
|
new List<int>
|
|
{
|
|
48,
|
|
60,
|
|
72,
|
|
84
|
|
}
|
|
},
|
|
{20000,
|
|
new List<int>
|
|
{
|
|
48,
|
|
60,
|
|
72,
|
|
84,
|
|
120,
|
|
180
|
|
}
|
|
},
|
|
};
|
|
|
|
public static List<int> Special =
|
|
[
|
|
36
|
|
];
|
|
|
|
public static List<int> HomeEquity =
|
|
[
|
|
60,
|
|
84,
|
|
120,
|
|
180,
|
|
240,
|
|
];
|
|
|
|
public static List<int> MortgageRefiExpress =
|
|
[
|
|
96,
|
|
120,
|
|
144,
|
|
];
|
|
|
|
public static List<int> VehiclePreApproval =
|
|
[
|
|
36,
|
|
48,
|
|
63,
|
|
75,
|
|
];
|
|
|
|
public static Dictionary<int, List<int>> TermsByYear = new()
|
|
{
|
|
{2023,
|
|
new List<int>
|
|
{
|
|
36,
|
|
48,
|
|
63,
|
|
75,
|
|
84
|
|
}
|
|
},
|
|
{2022,
|
|
new List<int>
|
|
{
|
|
36,
|
|
48,
|
|
63,
|
|
75
|
|
}
|
|
},
|
|
{2021,
|
|
new List<int>
|
|
{
|
|
36,
|
|
48,
|
|
63
|
|
}
|
|
},
|
|
{2020,
|
|
new List<int>
|
|
{
|
|
36,
|
|
48
|
|
}
|
|
}
|
|
};
|
|
|
|
public static Dictionary<decimal, List<int>> PowersportByAmount = new()
|
|
{
|
|
//Loan amount can be greater than or equal to the amount listed here.
|
|
{0,
|
|
new List<int>
|
|
{
|
|
36,
|
|
48,
|
|
63
|
|
}
|
|
},
|
|
{10000,
|
|
new List<int>
|
|
{
|
|
36,
|
|
48,
|
|
63,
|
|
72
|
|
}
|
|
}
|
|
};
|
|
|
|
public static Dictionary<decimal, List<int>> SignatureByAmount = new()
|
|
{
|
|
//Loan amount can be greater than or equal to the amount listed here.
|
|
{0,
|
|
new List<int>
|
|
{
|
|
12,
|
|
24,
|
|
36
|
|
}
|
|
},
|
|
{5000,
|
|
new List<int>
|
|
{
|
|
48
|
|
}
|
|
},
|
|
};
|
|
}
|
|
}
|