//------------------------------------------------------------------------------
// <auto-generated>
//    This code was generated from a template.
//
//    Manual changes to this file may cause unexpected behavior in your application.
//    Manual changes to this file will be overwritten if the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------

namespace ERD
{
    using System;
    using System.Collections.Generic;
    
    public partial class TblGalvanizedDeal
    {
        public TblGalvanizedDeal()
        {
            this.TblGalvanizedTransactions = new HashSet<TblGalvanizedTransaction>();
        }
    
        public int OID { get; set; }
        public string AccountNumber { get; set; }
        public string MemberName { get; set; }
        public Nullable<int> WebcollectorKey { get; set; }
        public string ContractNumber { get; set; }
        public string Status { get; set; }
        public string SubStatus { get; set; }
        public string CCDStatus { get; set; }
        public Nullable<System.DateTime> ContractDate { get; set; }
        public Nullable<System.DateTime> InstalmentStartDate { get; set; }
        public Nullable<int> StrikeDate { get; set; }
        public Nullable<bool> DeferOccupation { get; set; }
        public Nullable<decimal> AdminFee { get; set; }
        public string SpouseName { get; set; }
        public string SpouseIDNUmber { get; set; }
        public string PrincipalName { get; set; }
        public Nullable<decimal> GalvanizedPresentValue { get; set; }
        public Nullable<decimal> PrescribedCapital { get; set; }
        public Nullable<decimal> CapitalOutstanding { get; set; }
        public Nullable<decimal> Instalment { get; set; }
        public Nullable<decimal> Receipts { get; set; }
        public Nullable<decimal> OutstandingBalance { get; set; }
        public Nullable<decimal> TotalArrears { get; set; }
        public Nullable<decimal> GalvanizedInterestRate { get; set; }
        public Nullable<int> AddendumUnits { get; set; }
        public Nullable<int> ClubUnits { get; set; }
        public string GalvanizedPeriod { get; set; }
        public Nullable<bool> EFTPayment { get; set; }
        public Nullable<bool> ManFeeEFTPayment { get; set; }
        public string CollectorComments { get; set; }
        public string ApprovalComments { get; set; }
        public Nullable<System.DateTime> DeclinedDate { get; set; }
        public Nullable<decimal> CostPerUnit { get; set; }
        public Nullable<int> DowngradeUnitsBy { get; set; }
        public string DowngradePeriod { get; set; }
        public Nullable<decimal> DowngradeIntRate { get; set; }
        public Nullable<decimal> DowngradeGalInstalment { get; set; }
        public Nullable<decimal> GalInstalmentYR1 { get; set; }
        public Nullable<decimal> GalInstalmentYR2 { get; set; }
        public Nullable<decimal> GalInstalmentYR3 { get; set; }
        public Nullable<decimal> GalInstalmentYR4 { get; set; }
        public Nullable<decimal> GalInstalmentYR5 { get; set; }
        public Nullable<decimal> GalInstalmentYR6 { get; set; }
        public Nullable<decimal> GalInstalmentYR7 { get; set; }
        public Nullable<decimal> BubblePerc { get; set; }
        public Nullable<bool> BubblePercentageOverride { get; set; }
        public string WithBubblePeriod { get; set; }
        public Nullable<decimal> WithBubbleIntRate { get; set; }
        public Nullable<decimal> WithBubbleGalInstalment { get; set; }
        public Nullable<decimal> WithBubbleGalInstalmentYR1 { get; set; }
        public Nullable<decimal> WithBubbleGalInstalmentYR2 { get; set; }
        public Nullable<decimal> WithBubbleGalInstalmentYR3 { get; set; }
        public Nullable<decimal> WithBubbleGalInstalmentYR4 { get; set; }
        public Nullable<decimal> WithBubbleGalInstalmentYR5 { get; set; }
        public Nullable<decimal> WithBubbleGalInstalmentYR6 { get; set; }
        public Nullable<decimal> WithBubbleGalInstalmentYR7 { get; set; }
        public string SelectedOption { get; set; }
        public Nullable<System.DateTime> SelectedDate { get; set; }
        public Nullable<int> DealStatus { get; set; }
        public Nullable<System.DateTime> ApprovedDate { get; set; }
        public Nullable<System.DateTime> DocumentationSentDate { get; set; }
        public Nullable<System.DateTime> DocumentationReceivedDate { get; set; }
        public Nullable<System.DateTime> DetailsSentDate { get; set; }
        public Nullable<bool> PrevailSelected { get; set; }
        public Nullable<int> PrevailPoints { get; set; }
        public Nullable<int> PrevailAddendumPoints { get; set; }
        public Nullable<int> PrevailFinitePoints { get; set; }
        public Nullable<int> PrevailTradePoints { get; set; }
        public Nullable<decimal> PrevailCurrentManagementFee { get; set; }
        public Nullable<decimal> PrevailNewManagementFeeTotal { get; set; }
        public Nullable<int> PrevailNewPoints { get; set; }
        public string Affordability { get; set; }
        public Nullable<decimal> PrevailNewFee { get; set; }
        public Nullable<int> PrevailCurrentYear { get; set; }
        public Nullable<int> PrevailAffordNewPoints { get; set; }
        public string AllocatedTo { get; set; }
        public Nullable<int> OptimisticLockField { get; set; }
        public Nullable<int> GCRecord { get; set; }
        public Nullable<int> Debtor { get; set; }
    
        public virtual TblDebtor TblDebtor { get; set; }
        public virtual ICollection<TblGalvanizedTransaction> TblGalvanizedTransactions { get; set; }
    }
}
