//------------------------------------------------------------------------------
// <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 TblImportSource
    {
        public TblImportSource()
        {
            this.TblLeads = new HashSet<TblLead>();
            this.TblOldImportSources = new HashSet<TblOldImportSource>();
            this.TblPersonnelImportSources = new HashSet<TblPersonnelImportSource>();
            this.TblPersonnelPersonnel_TblImportSourceImportSource = new HashSet<TblPersonnelPersonnel_TblImportSourceImportSource>();
            this.TblSalesVenueImportSources = new HashSet<TblSalesVenueImportSource>();
        }
    
        public int OID { get; set; }
        public string Descrip { get; set; }
        public string CreatedBy { get; set; }
        public Nullable<System.DateTime> DateCreated { get; set; }
        public Nullable<int> OptimisticLockField { get; set; }
        public Nullable<int> GCRecord { get; set; }
        public Nullable<bool> VisibleToTelemarketers { get; set; }
        public Nullable<int> MinAllowedCallbackDays { get; set; }
        public string OldOid { get; set; }
        public string Details { get; set; }
    
        public virtual ICollection<TblLead> TblLeads { get; set; }
        public virtual ICollection<TblOldImportSource> TblOldImportSources { get; set; }
        public virtual ICollection<TblPersonnelImportSource> TblPersonnelImportSources { get; set; }
        public virtual ICollection<TblPersonnelPersonnel_TblImportSourceImportSource> TblPersonnelPersonnel_TblImportSourceImportSource { get; set; }
        public virtual ICollection<TblSalesVenueImportSource> TblSalesVenueImportSources { get; set; }
    }
}
