//------------------------------------------------------------------------------
// <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 TblTMCommGroup
    {
        public TblTMCommGroup()
        {
            this.TblTMCommGroupsTMCommGroups_TblPersonnelPersonnelList = new HashSet<TblTMCommGroupsTMCommGroups_TblPersonnelPersonnelList>();
            this.TblTMCommGroupsTMCommGroups_TblSalesVenueSalesVenues = new HashSet<TblTMCommGroupsTMCommGroups_TblSalesVenueSalesVenues>();
        }
    
        public int OID { get; set; }
        public Nullable<System.DateTime> DateCreated { get; set; }
        public string CreatedBy { get; set; }
        public string GroupName { get; set; }
        public Nullable<int> Structure { get; set; }
        public Nullable<int> OptimisticLockField { get; set; }
        public Nullable<int> GCRecord { get; set; }
    
        public virtual TblTMCommStructure TblTMCommStructure { get; set; }
        public virtual ICollection<TblTMCommGroupsTMCommGroups_TblPersonnelPersonnelList> TblTMCommGroupsTMCommGroups_TblPersonnelPersonnelList { get; set; }
        public virtual ICollection<TblTMCommGroupsTMCommGroups_TblSalesVenueSalesVenues> TblTMCommGroupsTMCommGroups_TblSalesVenueSalesVenues { get; set; }
    }
}
