//------------------------------------------------------------------------------
// <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 TblTelemarketerOffice
    {
        public TblTelemarketerOffice()
        {
            this.TblSalesVenueTelemarketerOffices = new HashSet<TblSalesVenueTelemarketerOffice>();
            this.TblSalesVenueTelemarketerOffice_bak = new HashSet<TblSalesVenueTelemarketerOffice_bak>();
            this.TblTelemarketerRegisterHdrs = new HashSet<TblTelemarketerRegisterHdr>();
            this.TelemarketingSMSSettings = new HashSet<TelemarketingSMSSetting>();
            this.TblLeadsCallHistories = new HashSet<TblLeadsCallHistory>();
            this.TblPersonnels = new HashSet<TblPersonnel>();
        }
    
        public int OID { get; set; }
        public string Descrip { get; set; }
        public Nullable<System.Guid> province { get; set; }
        public Nullable<int> Company { get; set; }
        public string StartTime { get; set; }
        public string EndTime { get; set; }
        public Nullable<int> OptimisticLockField { get; set; }
        public Nullable<int> GCRecord { get; set; }
        public string SMSUserCode { get; set; }
        public string SMSPassword { get; set; }
        public string SendingEmailAddress { get; set; }
        public Nullable<System.Guid> Franchisee { get; set; }
        public string SmsBookingMessage { get; set; }
        public string SmsConfirmationMessage { get; set; }
        public string TelephoneNumber { get; set; }
        public string FaxNumber { get; set; }
        public Nullable<bool> isInactive { get; set; }
        public Nullable<int> WeeklyTarget { get; set; }
        public Nullable<bool> ShowInDailyReport { get; set; }
        public Nullable<bool> ShowInWeeklyReport { get; set; }
        public Nullable<bool> ShowInMonthlyReport { get; set; }
        public Nullable<bool> External { get; set; }
        public Nullable<System.Guid> SMSSettings { get; set; }
        public Nullable<int> SalesRegion { get; set; }
        public Nullable<bool> Commissionable { get; set; }
        public Nullable<bool> HighlightInReport { get; set; }
    
        public virtual ICollection<TblSalesVenueTelemarketerOffice> TblSalesVenueTelemarketerOffices { get; set; }
        public virtual ICollection<TblSalesVenueTelemarketerOffice_bak> TblSalesVenueTelemarketerOffice_bak { get; set; }
        public virtual TblTelemarketingCompany TblTelemarketingCompany { get; set; }
        public virtual TelemarketingSMSSetting TelemarketingSMSSetting { get; set; }
        public virtual ICollection<TblTelemarketerRegisterHdr> TblTelemarketerRegisterHdrs { get; set; }
        public virtual ICollection<TelemarketingSMSSetting> TelemarketingSMSSettings { get; set; }
        public virtual ICollection<TblLeadsCallHistory> TblLeadsCallHistories { get; set; }
        public virtual ICollection<TblPersonnel> TblPersonnels { get; set; }
    }
}
