59 lines
2.6 KiB
C#
59 lines
2.6 KiB
C#
using LCU.API.Internal.RepoApi.Repos.Models.Consumer;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.ComponentModel.DataAnnotations;
|
|
using System.ComponentModel.DataAnnotations.Schema;
|
|
|
|
namespace LCU.API.Internal.RepoApi.Repos.Models
|
|
{
|
|
public class RepoAccount
|
|
{
|
|
public int RepoId { get; set; }
|
|
[Required]
|
|
public string AccountNo { get; set; }
|
|
[Required]
|
|
public string Status { get; set; }
|
|
public long MemberNo { get; set; }
|
|
public long LoanNo { get; set; }
|
|
public string AccountTypeCode { get; set; }
|
|
public string OrigAccountTypeCode { get; set; }
|
|
public int? Branch { get; set; }
|
|
public string Collector { get; set; }
|
|
public decimal? Balance { get; set; }
|
|
public DateTime? DueToPayDate { get; set; }
|
|
public DateTime? O4RDate { get; set; }
|
|
public DateTime? DateFirstDelinquent { get; set; }
|
|
public decimal? DelinquentAmount { get; set; }
|
|
public int? DaysDelinquent { get; set; }
|
|
public decimal? PaidSkipAmount { get; set; }
|
|
public string SubStatus { get; set; }
|
|
public decimal? RequiredPaymentAmount { get; set; }
|
|
public decimal? CurrentDelinquentAmount { get; set; }
|
|
public decimal? LstPmtAmt { get; set; }
|
|
public decimal? OrigAmount { get; set; }
|
|
public DateTime? LastPaymentDate { get; set; }
|
|
public DateTime? DateFirstIntellect { get; set; }
|
|
public string PrimaryIndividualId { get; set; }
|
|
public string Bankruptcy { get; set; }
|
|
public DateTime? ManualRedemptionDate { get; set; }
|
|
public DateTime? RedemptionExpiredDate { get; set; }
|
|
public ICollection<Borrower> Borrowers { get; set; }
|
|
public ICollection<Collateral> Collaterals { get; set; }
|
|
public ICollection<RepoStatusChange> RepoStatusChanges { get; set; }
|
|
[ForeignKey("RepoId")]
|
|
public RefundStatus RefundStatus { get; set; }
|
|
public DateTime? DateClosed { get; set; }
|
|
// This should reference
|
|
// a CaseId for Temenos.
|
|
public int? ReferenceId { get; set; }
|
|
public int? ReferenceCaseId { get; set; }
|
|
// This is the "Account Status" from Temenos so we can "Watch" it.
|
|
public string ReferenceStatus { get; set; }
|
|
public DateTime? AccountLastProcessed { get; set; }
|
|
public DateTime? WrittenOffDate { get; set; }
|
|
public int? SixtyPlusCollectorId { get; set; }
|
|
[ForeignKey("SixtyPlusCollectorId")]
|
|
public SixtyPlusCollector SixtyPlusCollector { get; set; }
|
|
}
|
|
}
|