first commit

This commit is contained in:
Zeeshaun
2026-03-11 11:18:25 -05:00
commit f3cb730f3b
472 changed files with 53651 additions and 0 deletions
@@ -0,0 +1,34 @@
using Landmark.OLA.Models.Loan.Enums;
using MongoDB.Bson.Serialization.Attributes;
namespace Landmark.OLA.Models.Loan
{
[BsonIgnoreExtraElements]
public class LoanContainer : OlaModel
{
public LoanApplication LoanApplication { get; set; }
public LoanType LoanType { get; set; }
public LoanPage Page { get; set; }
public LoanStatus Status { get; set; }
public LoanError Error { get; set; }
public DateTime Date { get; private set; }
public string FirstName { get; set; }
public string LastName { get; set; }
public string Branch { get; set; }
public string LoanId { get; set; }
public string MemberId { get; set; }
public string IndividualId { get; set; }
public LoanContainer()
{
Date = DateTime.UtcNow; //allows us to have control over date format
}
public LoanContainer(LoanApplication loanApplication, DateTime? loanDate = null, LoanStatus status = LoanStatus.In_Progress)
{
LoanApplication = loanApplication ?? null;
Date = loanDate ?? DateTime.UtcNow;
Status = status;
}
}
}