//------------------------------------------------------------------------------
// <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 TblMessageCode
    {
        public TblMessageCode()
        {
            this.TblDebtorNotes = new HashSet<TblDebtorNote>();
            this.TblMessageCodeMessageGroup_MessageCodeGroupGroup = new HashSet<TblMessageCodeMessageGroup_MessageCodeGroupGroup>();
            this.TblPortfolioNotes = new HashSet<TblPortfolioNote>();
        }
    
        public int OID { get; set; }
        public string MessageCode { get; set; }
        public string Description { 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> MessageType { get; set; }
    
        public virtual ICollection<TblDebtorNote> TblDebtorNotes { get; set; }
        public virtual ICollection<TblMessageCodeMessageGroup_MessageCodeGroupGroup> TblMessageCodeMessageGroup_MessageCodeGroupGroup { get; set; }
        public virtual ICollection<TblPortfolioNote> TblPortfolioNotes { get; set; }
    }
}
