//------------------------------------------------------------------------------
// <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 TblSalesVenue
    {
        public TblSalesVenue()
        {
            this.TblSalesRegisterHdrs = new HashSet<TblSalesRegisterHdr>();
            this.TblSalesVenueTelemarketerOffices = new HashSet<TblSalesVenueTelemarketerOffice>();
            this.TblSalesVenuePersonnels = new HashSet<TblSalesVenuePersonnel>();
            this.TblSalesVenueRegions = new HashSet<TblSalesVenueRegion>();
            this.TblSalesVenueCAOverrideUsers_TblPersonnelCAOverride = new HashSet<TblSalesVenueCAOverrideUsers_TblPersonnelCAOverride>();
            this.TblSalesVenueClubAdjustments = new HashSet<TblSalesVenueClubAdjustment>();
            this.TblSalesVenueClubDevelopers = new HashSet<TblSalesVenueClubDeveloper>();
            this.TblSalesVenueCommissionsSplits = new HashSet<TblSalesVenueCommissionsSplit>();
            this.TblSalesVenueImportSources = new HashSet<TblSalesVenueImportSource>();
            this.TblSalesVenuePitchedLeadsReportVenue_TblPersonnelPitchedLeadsReportRecipients = new HashSet<TblSalesVenuePitchedLeadsReportVenue_TblPersonnelPitchedLeadsReportRecipients>();
            this.TblSalesVenueRegFees = new HashSet<TblSalesVenueRegFee>();
            this.TblSalesVenueRegisterHdrs = new HashSet<TblSalesVenueRegisterHdr>();
            this.TblSalesVenueSalesVenues_TblPromotionCommissionStructurePromotionCommissionStructures = new HashSet<TblSalesVenueSalesVenues_TblPromotionCommissionStructurePromotionCommissionStructures>();
            this.TblSalesVenueTelemarketerOffice_bak = new HashSet<TblSalesVenueTelemarketerOffice_bak>();
            this.TblSalesVenueWeeklyTargetSplits = new HashSet<TblSalesVenueWeeklyTargetSplit>();
            this.TblSCV2SalesVenueScale = new HashSet<TblSCV2SalesVenueScale>();
            this.TblSessionOverrides = new HashSet<TblSessionOverride>();
            this.TblTelemarketerRegisterHdrs = new HashSet<TblTelemarketerRegisterHdr>();
            this.TblTMCommGroupsTMCommGroups_TblSalesVenueSalesVenues = new HashSet<TblTMCommGroupsTMCommGroups_TblSalesVenueSalesVenues>();
            this.TblTMCommStructures = new HashSet<TblTMCommStructure>();
            this.TblEVouchers = new HashSet<TblEVoucher>();
            this.TblEVoucherCategories = new HashSet<TblEVoucherCategory>();
            this.TblEVoucherTypes = new HashSet<TblEVoucherType>();
            this.TblPersonnels = new HashSet<TblPersonnel>();
            this.TblPersonnels1 = new HashSet<TblPersonnel>();
            this.TblPersonnelUnivateTargets = new HashSet<TblPersonnelUnivateTarget>();
            this.TblPersonnelWeeklyTargetSplitPerSalesVenues = new HashSet<TblPersonnelWeeklyTargetSplitPerSalesVenue>();
        }
    
        public int OID { get; set; }
        public string Descrip { get; set; }
        public Nullable<System.DateTime> DateCreated { get; set; }
        public string CreatedBy { get; set; }
        public string DirectionsText { get; set; }
        public string ImageUrl { get; set; }
        public Nullable<int> MondaySessions { get; set; }
        public Nullable<int> TuesdaySessions { get; set; }
        public Nullable<int> WednesdaySessions { get; set; }
        public Nullable<int> ThursdaySessions { get; set; }
        public Nullable<int> FridaySessions { get; set; }
        public Nullable<int> SaturdaySessions { get; set; }
        public Nullable<int> OptimisticLockField { get; set; }
        public Nullable<int> GCRecord { get; set; }
        public Nullable<int> Campaign { get; set; }
        public Nullable<int> LeadSheetDocumentPath { get; set; }
        public Nullable<bool> PrizeDrawActive { get; set; }
        public Nullable<int> MealVoucherDocumentPath { get; set; }
        public Nullable<int> PrizeDrawDocumentPath { get; set; }
        public string MonSession1 { get; set; }
        public string MonSession2 { get; set; }
        public string MonSession3 { get; set; }
        public string MonSession4 { get; set; }
        public string TueSession1 { get; set; }
        public string TueSession2 { get; set; }
        public string TueSession3 { get; set; }
        public string TueSession4 { get; set; }
        public string WedSession1 { get; set; }
        public string WedSession2 { get; set; }
        public string WedSession3 { get; set; }
        public string WedSession4 { get; set; }
        public string ThuSession1 { get; set; }
        public string ThuSession2 { get; set; }
        public string ThuSession3 { get; set; }
        public string ThuSession4 { get; set; }
        public string FriSession1 { get; set; }
        public string FriSession2 { get; set; }
        public string FriSession3 { get; set; }
        public string FriSession4 { get; set; }
        public string SatSession1 { get; set; }
        public string SatSession2 { get; set; }
        public string SatSession3 { get; set; }
        public string SatSession4 { get; set; }
        public string DefaultSalesClub { get; set; }
        public string ContractPrefix { get; set; }
        public Nullable<short> NoOfPeopleSession1 { get; set; }
        public Nullable<short> NoOfPeopleSession2 { get; set; }
        public Nullable<short> NoOfPeopleSession3 { get; set; }
        public Nullable<short> NoOfPeopleSession4 { get; set; }
        public Nullable<int> ConfirmationEmailDocument { get; set; }
        public string TelephoneNumber { get; set; }
        public string FaxNumber { get; set; }
        public string GpsCoOrdinates { get; set; }
        public Nullable<int> StockLocation { get; set; }
        public Nullable<int> DefaultDeveloper { get; set; }
        public Nullable<System.Guid> Address { get; set; }
        public Nullable<bool> VisibleByFranchisee { get; set; }
        public Nullable<int> DefaultCurrency { get; set; }
        public Nullable<int> UnivateTarget { get; set; }
        public Nullable<int> Workdays { get; set; }
        public Nullable<int> SalesManager { get; set; }
        public Nullable<bool> SpecifyClub { get; set; }
        public Nullable<bool> ManuallyAllocateConfirmationClerk { get; set; }
        public Nullable<bool> CannotSellInsurance { get; set; }
        public Nullable<int> SalesRegion { get; set; }
        public Nullable<System.Guid> Country { get; set; }
        public Nullable<int> SundaySessions { get; set; }
        public string SunSession1 { get; set; }
        public Nullable<int> RegionalSalesManager { get; set; }
        public string CommonName { get; set; }
        public Nullable<short> Company { get; set; }
        public Nullable<bool> SendConfirmationLetter { get; set; }
        public string SalesVenuePrefix { get; set; }
        public Nullable<bool> IsAgency { get; set; }
        public Nullable<int> TimeOffBookingConfirmationDocumentPath { get; set; }
        public string TimeOffDescription { get; set; }
        public Nullable<int> CommissionSplitGroup { get; set; }
        public Nullable<bool> Inactive { get; set; }
        public Nullable<int> GroupCode { get; set; }
        public Nullable<System.Guid> SalesVenueGroup { get; set; }
        public Nullable<int> Session1Target { get; set; }
        public Nullable<int> Session2Target { get; set; }
        public Nullable<int> Session3Target { get; set; }
        public Nullable<int> Session4Target { get; set; }
        public Nullable<int> Session5Target { get; set; }
        public Nullable<int> RegionalSalesManager2 { get; set; }
        public Nullable<System.Guid> SalesVenueCommissionGroup { get; set; }
        public Nullable<int> ClientArrivalManager { get; set; }
        public Nullable<bool> CanIssueOYG { get; set; }
        public Nullable<int> Resort { get; set; }
        public Nullable<bool> DontSendBKConfSMS { get; set; }
    
        public virtual TblResort TblResort { get; set; }
        public virtual ICollection<TblSalesRegisterHdr> TblSalesRegisterHdrs { get; set; }
        public virtual ICollection<TblSalesVenueTelemarketerOffice> TblSalesVenueTelemarketerOffices { get; set; }
        public virtual ICollection<TblSalesVenuePersonnel> TblSalesVenuePersonnels { get; set; }
        public virtual ICollection<TblSalesVenueRegion> TblSalesVenueRegions { get; set; }
        public virtual TblSalesVenueCommissionGroup TblSalesVenueCommissionGroup { get; set; }
        public virtual TblSalesVenueGroup TblSalesVenueGroup { get; set; }
        public virtual ICollection<TblSalesVenueCAOverrideUsers_TblPersonnelCAOverride> TblSalesVenueCAOverrideUsers_TblPersonnelCAOverride { get; set; }
        public virtual ICollection<TblSalesVenueClubAdjustment> TblSalesVenueClubAdjustments { get; set; }
        public virtual ICollection<TblSalesVenueClubDeveloper> TblSalesVenueClubDevelopers { get; set; }
        public virtual ICollection<TblSalesVenueCommissionsSplit> TblSalesVenueCommissionsSplits { get; set; }
        public virtual ICollection<TblSalesVenueImportSource> TblSalesVenueImportSources { get; set; }
        public virtual ICollection<TblSalesVenuePitchedLeadsReportVenue_TblPersonnelPitchedLeadsReportRecipients> TblSalesVenuePitchedLeadsReportVenue_TblPersonnelPitchedLeadsReportRecipients { get; set; }
        public virtual ICollection<TblSalesVenueRegFee> TblSalesVenueRegFees { get; set; }
        public virtual ICollection<TblSalesVenueRegisterHdr> TblSalesVenueRegisterHdrs { get; set; }
        public virtual ICollection<TblSalesVenueSalesVenues_TblPromotionCommissionStructurePromotionCommissionStructures> TblSalesVenueSalesVenues_TblPromotionCommissionStructurePromotionCommissionStructures { get; set; }
        public virtual ICollection<TblSalesVenueTelemarketerOffice_bak> TblSalesVenueTelemarketerOffice_bak { get; set; }
        public virtual ICollection<TblSalesVenueWeeklyTargetSplit> TblSalesVenueWeeklyTargetSplits { get; set; }
        public virtual ICollection<TblSCV2SalesVenueScale> TblSCV2SalesVenueScale { get; set; }
        public virtual ICollection<TblSessionOverride> TblSessionOverrides { get; set; }
        public virtual ICollection<TblTelemarketerRegisterHdr> TblTelemarketerRegisterHdrs { get; set; }
        public virtual ICollection<TblTMCommGroupsTMCommGroups_TblSalesVenueSalesVenues> TblTMCommGroupsTMCommGroups_TblSalesVenueSalesVenues { get; set; }
        public virtual ICollection<TblTMCommStructure> TblTMCommStructures { get; set; }
        public virtual TblDeveloper TblDeveloper { get; set; }
        public virtual ICollection<TblEVoucher> TblEVouchers { get; set; }
        public virtual ICollection<TblEVoucherCategory> TblEVoucherCategories { get; set; }
        public virtual ICollection<TblEVoucherType> TblEVoucherTypes { get; set; }
        public virtual ICollection<TblPersonnel> TblPersonnels { get; set; }
        public virtual ICollection<TblPersonnel> TblPersonnels1 { get; set; }
        public virtual TblPersonnel TblPersonnel { get; set; }
        public virtual TblPersonnel TblPersonnel1 { get; set; }
        public virtual TblPersonnel TblPersonnel2 { get; set; }
        public virtual TblPersonnel TblPersonnel3 { get; set; }
        public virtual ICollection<TblPersonnelUnivateTarget> TblPersonnelUnivateTargets { get; set; }
        public virtual ICollection<TblPersonnelWeeklyTargetSplitPerSalesVenue> TblPersonnelWeeklyTargetSplitPerSalesVenues { get; set; }
    }
}
