//------------------------------------------------------------------------------
// <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 TblPortfolioNote
    {
        public int OID { get; set; }
        public Nullable<int> TblPortfolio { get; set; }
        public Nullable<int> MessageCode { get; set; }
        public string Comments { get; set; }
        public Nullable<System.DateTime> DateCreated { get; set; }
        public string CreatedBy { get; set; }
        public Nullable<int> OptimisticLockField { get; set; }
        public Nullable<int> GCRecord { get; set; }
        public Nullable<int> TblDebtor { get; set; }
        public Nullable<System.DateTime> ActionDate { get; set; }
        public Nullable<int> Portfolio { get; set; }
        public Nullable<int> Debtor { get; set; }
        public Nullable<int> Contract { get; set; }
        public Nullable<System.DateTime> SentToCollectionSystem { get; set; }
        public Nullable<int> MessageType { get; set; }
        public string Reference { get; set; }
        public Nullable<int> DebtorBanking { get; set; }
    
        public virtual TblDebtor TblDebtor1 { get; set; }
        public virtual TblDebtor TblDebtor2 { get; set; }
        public virtual TblDebtorBanking TblDebtorBanking { get; set; }
        public virtual TblMessageCode TblMessageCode { get; set; }
        public virtual TblPortfolio TblPortfolio1 { get; set; }
        public virtual TblPortfolio TblPortfolio2 { get; set; }
    }
}
