first commit
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
|
||||
namespace Landmark.OLA.Application.Common.Domain
|
||||
{
|
||||
public class EmailRequest
|
||||
{
|
||||
public string Recipient { get; set; }
|
||||
public string Subject { get; set; }
|
||||
public string Body { get; set; }
|
||||
}
|
||||
}
|
||||
+15
@@ -0,0 +1,15 @@
|
||||
using System;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using Landmark.OLA.Models;
|
||||
|
||||
namespace Landmark.OLA.Application.Common.Domain
|
||||
{
|
||||
public class StoredSettings : OlaModel
|
||||
{
|
||||
public DateTime LastUpdated { get; set; }
|
||||
[Required]
|
||||
public string LastUpdatedBy { get; set; }
|
||||
public bool ApplicationDisabled { get; set; }
|
||||
public string AppDisabledMessage { get; set; }
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,67 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using Landmark.OLA.Models;
|
||||
using Landmark.OLA.Models.Addresses.Enums;
|
||||
using Landmark.OLA.Models.Individuals.Enums;
|
||||
using Landmark.OLA.Models.Loan;
|
||||
using Landmark.OLA.Models.Loan.Enums;
|
||||
using static Landmark.OLA.Models.Loan.TermLengths;
|
||||
|
||||
namespace Landmark.OLA.Application.Common.Domain
|
||||
{
|
||||
public class UiSettings
|
||||
{
|
||||
public string AbaRouting => "275079714";
|
||||
|
||||
public Dictionary<string, string> Contact => new Dictionary<string, string>
|
||||
{
|
||||
{ "HelpPhone", "262-796-4500" },
|
||||
};
|
||||
|
||||
public Dictionary<string, string> Links => new Dictionary<string, string>
|
||||
{
|
||||
{ "PrivacyPolicy", "https://www.example.com/" },
|
||||
{ "MemberSite", "https://www.example.net" },
|
||||
{ "HomePage", "https://www.landmarkcu.com/"},
|
||||
};
|
||||
|
||||
public Dictionary<decimal, List<int>> MfdHomeAndRvByAmount = TermLengths.MfdHomeAndRvByAmount;
|
||||
|
||||
public List<int> HomeEquity = TermLengths.HomeEquity;
|
||||
|
||||
public List<int> Special = TermLengths.Special;
|
||||
|
||||
public List<int> MortgageRefiExpress = TermLengths.MortgageRefiExpress;
|
||||
|
||||
public List<int> VehiclePreApproval = TermLengths.VehiclePreApproval;
|
||||
|
||||
public Dictionary<int, List<int>> TermsByYear = TermLengths.TermsByYear;
|
||||
|
||||
public Dictionary<decimal, List<int>> BoatLoansByAmount = TermLengths.BoatLoansByAmount;
|
||||
|
||||
public Dictionary<decimal, List<int>> PowersportByAmount = TermLengths.PowersportByAmount;
|
||||
|
||||
public Dictionary<decimal, List<int>> SignatureByAmount = TermLengths.SignatureByAmount;
|
||||
|
||||
public Dictionary<LoanType, List<LoanPurpose.Purpose>> TypePurposes = LoanPurpose.TypePurposes;
|
||||
|
||||
public Dictionary<LoanType, Limit> Limits = LoanLimits.Limits;
|
||||
|
||||
public List<StateOption> StatesRequiringSpouseInformation = ValidationConstants.StatesRequiringSpouseInformation;
|
||||
|
||||
public List<StateOption> StateOptions = ((StateOption[])Enum.GetValues(typeof(StateOption))).ToList();
|
||||
|
||||
public Dictionary<Frequency, Limit> IncomeLimits = Models.Individuals.IncomeLimits.Limits;
|
||||
|
||||
public BranchConfig BranchMapping = null; // Provided by MongoDB
|
||||
|
||||
public BranchNameConfig BranchNameMapping = null; // Provided by MongoDB
|
||||
|
||||
public StoredSettings Configuration = null; // Provided by MongoDB
|
||||
|
||||
public List<UiTermOption> TermOptions = AvailableTermOptions;
|
||||
|
||||
public List<UiTermOption> TermOptionsNoYear = AvailableTermOptionsWithoutYears;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user