//------------------------------------------------------------------------------
//
// 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.
//
//------------------------------------------------------------------------------
namespace ERD
{
using System;
using System.Collections.Generic;
public partial class TblPersonnel
{
public TblPersonnel()
{
this.TblDebtors = new HashSet();
this.TblDebtors1 = new HashSet();
this.TblDebtors2 = new HashSet();
this.TblDebtorFeedbacks = new HashSet();
this.TblEquityCommissionTargets = new HashSet();
this.TblHideDebtorTransactions = new HashSet();
this.TblLeadFeedbacks = new HashSet();
this.TblLeadsCallHistories = new HashSet();
this.TblLeadsCallHistories1 = new HashSet();
this.TblOverrideAudits = new HashSet();
this.TblSalesVenuePersonnels = new HashSet();
this.TblSalesVenuePersonnels1 = new HashSet();
this.TblPersonnel1 = new HashSet();
this.TblPersonnel11 = new HashSet();
this.TblPersonnel12 = new HashSet();
this.TblPersonnel13 = new HashSet();
this.TblPersonnel14 = new HashSet();
this.TblPersonnel15 = new HashSet();
this.TblPersonnel16 = new HashSet();
this.TblPersonnelBCCRecipiants_DynamicMailingBCCRecipiantOf = new HashSet();
this.TblPersonnelCCRecipiants_DynamicMailingCCRecipiantOf = new HashSet();
this.TblPersonnelCheckingPersonnel_CheckingTypesCheckingType = new HashSet();
this.TblPersonnelDocuments = new HashSet();
this.TblPersonnelExpertEmailRecipiants_TblContractExpirySettingsExpertEmails = new HashSet();
this.TblPersonnelImportSources = new HashSet();
this.TblPersonnelLeaves = new HashSet();
this.TblPersonnelPersonnel_TblImportSourceImportSource = new HashSet();
this.TblPersonnelPersonnelAllowed_FlowCheckStageFlowCheckStage = new HashSet();
this.TblPersonnelPersonnelToNotify_TblEmailNotifyEmails = new HashSet();
this.TblPersonnelRecipiants_TblEmailRecipiantsEmailRecipiantOf = new HashSet();
this.TblPersonnelTelephones = new HashSet();
this.TblPersonnelUnivateTargets = new HashSet();
this.TblPersonnelWeeklyTargetSplits = new HashSet();
this.TblPersonnelWeeklyTargetSplitPerSalesVenues = new HashSet();
this.TblPersTransfigs = new HashSet();
this.TblPodManagers = new HashSet();
this.TblPromotionCommissionStructurePromotionCommissionStructures_TblPersonnelPersonnel = new HashSet();
this.TblQueryRecipients = new HashSet();
this.TblQueryRecipients1 = new HashSet();
this.TblQueryRecipients2 = new HashSet();
this.TblRawSalesCommDatas = new HashSet();
this.TblRawSalesCommDatas1 = new HashSet();
this.TblRescheduleCalls = new HashSet();
this.TblResorts = new HashSet();
this.TblResorts1 = new HashSet();
this.TblSalesCommEarnerTypes = new HashSet();
this.TblSalesCommissionInfoes = new HashSet();
this.TblSalesCommissionTransactions = new HashSet();
this.TblSalesCommissionTransactions1 = new HashSet();
this.TblSalesCommSkippedCommissions = new HashSet();
this.TblSalesCommStatements = new HashSet();
this.TblSalesVenues = new HashSet();
this.TblSalesVenues1 = new HashSet();
this.TblSalesVenues2 = new HashSet();
this.TblSalesVenues3 = new HashSet();
this.TblSalesVenueCAOverrideUsers_TblPersonnelCAOverride = new HashSet();
this.TblSalesVenuePitchedLeadsReportVenue_TblPersonnelPitchedLeadsReportRecipients = new HashSet();
this.TblSCV2CommissionContract = new HashSet();
this.TblSCV2SpecialStructure = new HashSet();
this.TblSCV2Transaction = new HashSet();
this.TblSMICommissionInfoes = new HashSet();
this.TblSMITransactions = new HashSet();
this.TblStreamlines = new HashSet();
this.TblTelemarketerRegisters = new HashSet();
this.TblTFGLeads = new HashSet();
this.TblTMCommBasicTransactions = new HashSet();
this.TblTMCommDeals = new HashSet();
this.TblTMCommGroupsTMCommGroups_TblPersonnelPersonnelList = new HashSet();
this.TblTMCommStructureTMCommStructures_TblPersonnelPersonnelList = new HashSet();
this.TblTMCommTransactions = new HashSet();
this.TblTransferFunds = new HashSet();
this.TblUpdateBankingDetails = new HashSet();
this.Transfigurations = new HashSet();
this.Transfigurations1 = new HashSet();
}
public int PersonnelCode { get; set; }
public Nullable Company { get; set; }
public string Title { get; set; }
public string FirstName { get; set; }
public string Surname { get; set; }
public string Initials { get; set; }
public string Department { get; set; }
public string EmailAddress { get; set; }
public Nullable UserCode { get; set; }
public Nullable DateCreated { get; set; }
public string CreatedBy { get; set; }
public Nullable SuspendedDate { get; set; }
public Nullable DateJoined { get; set; }
public Nullable TelemarketerOffice { get; set; }
public Nullable DateResigned { get; set; }
public string IDNumber { get; set; }
public Nullable BankName { get; set; }
public string BankAccountNumber { get; set; }
public string BankAccountHolder { get; set; }
public Nullable BankBranch { get; set; }
public Nullable BankAccountType { get; set; }
public string BranchName { get; set; }
public string SpouseFirstName { get; set; }
public string SpouseSurname { get; set; }
public string SpouseIdNumber { get; set; }
public string NextOfKinFirstName { get; set; }
public string NextOfKinSurname { get; set; }
public Nullable NextofKinRelationship { get; set; }
public Nullable OptimisticLockField { get; set; }
public string AsteriskIP { get; set; }
public string AsteriskUserCode { get; set; }
public string AsteriskPassword { get; set; }
public string AsteriskCallerID { get; set; }
public Nullable BasicSalary { get; set; }
public Nullable SalesManager { get; set; }
public Nullable CommStructure { get; set; }
public Nullable ReportsTo { get; set; }
public Nullable BookingSessionCounter { get; set; }
public string PayrollNumber { get; set; }
public Nullable Franchisee { get; set; }
public Nullable CommissionLinkedTo { get; set; }
public Nullable PitchedLeadsReportVenue { get; set; }
public Nullable EmailNotificationRecipient { get; set; }
public Nullable Workdays { get; set; }
public Nullable employeeLevel { get; set; }
public Nullable aProTask { get; set; }
public Nullable UnivateTarget { get; set; }
public Nullable CanAssignTasksToAnybody { get; set; }
public Nullable ConsoftAgentCode { get; set; }
public Nullable aNotifyTask { get; set; }
public string EmployeeNumber { get; set; }
public Nullable IsHRUser { get; set; }
public string UserName { get; set; }
public Nullable IsPodManager { get; set; }
public Nullable IsSalesDirector { get; set; }
public Nullable IsConfirmationManager { get; set; }
public Nullable IsSalesManager { get; set; }
public Nullable IsSalesConsultant { get; set; }
public Nullable IsTelemarketer { get; set; }
public Nullable IsSurveyor { get; set; }
public Nullable ISnowahala { get; set; }
public Nullable IsRegionalSalesManager { get; set; }
public Nullable RegionalSalesManager { get; set; }
public Nullable ContractFlowRole { get; set; }
public Nullable ContractLastAllocated { get; set; }
public Nullable PAUserCode { get; set; }
public Nullable PAAss { get; set; }
public Nullable GCRecord { get; set; }
public string PayPoint { get; set; }
public Nullable InvoiceForAccess { get; set; }
public Nullable IsTester { get; set; }
public Nullable Addsome { get; set; }
public Nullable Transport { get; set; }
public string NameAndSurname { get; set; }
public Nullable IsNotHuman { get; set; }
public Nullable IsTelemarketingDirector { get; set; }
public Nullable IsDeveloper { get; set; }
public Nullable IsTestAdmin { get; set; }
public Nullable SalesCommissionStructure { get; set; }
public Nullable SalesCommissionEquityCategory { get; set; }
public Nullable SalesCommissionRotation { get; set; }
public string PayrollCompany { get; set; }
public Nullable EquityCommissionPercentage { get; set; }
public Nullable SalesCommQueryCategory { get; set; }
public Nullable AllowAllContractFlow { get; set; }
public Nullable Supervisor { get; set; }
public Nullable IsTrainee { get; set; }
public Nullable SMI { get; set; }
public Nullable IsSupervisor { get; set; }
public Nullable IsTMManager { get; set; }
public Nullable IsJuniorManager { get; set; }
public Nullable IsManager { get; set; }
public Nullable IsPresenter { get; set; }
public Nullable HRWarningRecipiant { get; set; }
public Nullable HRWarningRecipient { get; set; }
public Nullable IsTrainingManager { get; set; }
public Nullable TrainingManager { get; set; }
public Nullable SCVStructure { get; set; }
public Nullable NewCommStructure { get; set; }
public Nullable BasicEndDate { get; set; }
public Nullable PrimarySalesDeck { get; set; }
public Nullable IsConfirmationClerk { get; set; }
public virtual ICollection TblDebtors { get; set; }
public virtual ICollection TblDebtors1 { get; set; }
public virtual ICollection TblDebtors2 { get; set; }
public virtual ICollection TblDebtorFeedbacks { get; set; }
public virtual TblDepartment TblDepartment { get; set; }
public virtual ICollection TblEquityCommissionTargets { get; set; }
public virtual ICollection TblHideDebtorTransactions { get; set; }
public virtual ICollection TblLeadFeedbacks { get; set; }
public virtual ICollection TblLeadsCallHistories { get; set; }
public virtual ICollection TblLeadsCallHistories1 { get; set; }
public virtual ICollection TblOverrideAudits { get; set; }
public virtual ICollection TblSalesVenuePersonnels { get; set; }
public virtual ICollection TblSalesVenuePersonnels1 { get; set; }
public virtual ICollection TblPersonnel1 { get; set; }
public virtual TblPersonnel TblPersonnel2 { get; set; }
public virtual ICollection TblPersonnel11 { get; set; }
public virtual TblPersonnel TblPersonnel3 { get; set; }
public virtual TblTMCommStructure TblTMCommStructure { get; set; }
public virtual ICollection TblPersonnel12 { get; set; }
public virtual TblPersonnel TblPersonnel4 { get; set; }
public virtual TblSalesVenue TblSalesVenue { get; set; }
public virtual TblSalesVenue TblSalesVenue1 { get; set; }
public virtual ICollection TblPersonnel13 { get; set; }
public virtual TblPersonnel TblPersonnel5 { get; set; }
public virtual TblSalesCommissionEquity TblSalesCommissionEquity { get; set; }
public virtual TblSalesCommissionPercentage TblSalesCommissionPercentage { get; set; }
public virtual ICollection TblPersonnel14 { get; set; }
public virtual TblPersonnel TblPersonnel6 { get; set; }
public virtual TblSCV2CommissionStructure TblSCV2CommissionStructure { get; set; }
public virtual TblSMIIncentive TblSMIIncentive { get; set; }
public virtual ICollection TblPersonnel15 { get; set; }
public virtual TblPersonnel TblPersonnel7 { get; set; }
public virtual TblTelemarketerOffice TblTelemarketerOffice { get; set; }
public virtual Title Title1 { get; set; }
public virtual ICollection TblPersonnel16 { get; set; }
public virtual TblPersonnel TblPersonnel8 { get; set; }
public virtual ICollection TblPersonnelBCCRecipiants_DynamicMailingBCCRecipiantOf { get; set; }
public virtual ICollection TblPersonnelCCRecipiants_DynamicMailingCCRecipiantOf { get; set; }
public virtual ICollection TblPersonnelCheckingPersonnel_CheckingTypesCheckingType { get; set; }
public virtual ICollection TblPersonnelDocuments { get; set; }
public virtual ICollection TblPersonnelExpertEmailRecipiants_TblContractExpirySettingsExpertEmails { get; set; }
public virtual ICollection TblPersonnelImportSources { get; set; }
public virtual ICollection TblPersonnelLeaves { get; set; }
public virtual ICollection TblPersonnelPersonnel_TblImportSourceImportSource { get; set; }
public virtual ICollection TblPersonnelPersonnelAllowed_FlowCheckStageFlowCheckStage { get; set; }
public virtual ICollection TblPersonnelPersonnelToNotify_TblEmailNotifyEmails { get; set; }
public virtual ICollection TblPersonnelRecipiants_TblEmailRecipiantsEmailRecipiantOf { get; set; }
public virtual ICollection TblPersonnelTelephones { get; set; }
public virtual ICollection TblPersonnelUnivateTargets { get; set; }
public virtual ICollection TblPersonnelWeeklyTargetSplits { get; set; }
public virtual ICollection TblPersonnelWeeklyTargetSplitPerSalesVenues { get; set; }
public virtual ICollection TblPersTransfigs { get; set; }
public virtual ICollection TblPodManagers { get; set; }
public virtual ICollection TblPromotionCommissionStructurePromotionCommissionStructures_TblPersonnelPersonnel { get; set; }
public virtual ICollection TblQueryRecipients { get; set; }
public virtual ICollection TblQueryRecipients1 { get; set; }
public virtual ICollection TblQueryRecipients2 { get; set; }
public virtual ICollection TblRawSalesCommDatas { get; set; }
public virtual ICollection TblRawSalesCommDatas1 { get; set; }
public virtual ICollection TblRescheduleCalls { get; set; }
public virtual ICollection TblResorts { get; set; }
public virtual ICollection TblResorts1 { get; set; }
public virtual ICollection TblSalesCommEarnerTypes { get; set; }
public virtual ICollection TblSalesCommissionInfoes { get; set; }
public virtual ICollection TblSalesCommissionTransactions { get; set; }
public virtual ICollection TblSalesCommissionTransactions1 { get; set; }
public virtual ICollection TblSalesCommSkippedCommissions { get; set; }
public virtual ICollection TblSalesCommStatements { get; set; }
public virtual ICollection TblSalesVenues { get; set; }
public virtual ICollection TblSalesVenues1 { get; set; }
public virtual ICollection TblSalesVenues2 { get; set; }
public virtual ICollection TblSalesVenues3 { get; set; }
public virtual ICollection TblSalesVenueCAOverrideUsers_TblPersonnelCAOverride { get; set; }
public virtual ICollection TblSalesVenuePitchedLeadsReportVenue_TblPersonnelPitchedLeadsReportRecipients { get; set; }
public virtual ICollection TblSCV2CommissionContract { get; set; }
public virtual ICollection TblSCV2SpecialStructure { get; set; }
public virtual ICollection TblSCV2Transaction { get; set; }
public virtual ICollection TblSMICommissionInfoes { get; set; }
public virtual ICollection TblSMITransactions { get; set; }
public virtual ICollection TblStreamlines { get; set; }
public virtual ICollection TblTelemarketerRegisters { get; set; }
public virtual ICollection TblTFGLeads { get; set; }
public virtual ICollection TblTMCommBasicTransactions { get; set; }
public virtual ICollection TblTMCommDeals { get; set; }
public virtual ICollection TblTMCommGroupsTMCommGroups_TblPersonnelPersonnelList { get; set; }
public virtual ICollection TblTMCommStructureTMCommStructures_TblPersonnelPersonnelList { get; set; }
public virtual ICollection TblTMCommTransactions { get; set; }
public virtual ICollection TblTransferFunds { get; set; }
public virtual ICollection TblUpdateBankingDetails { get; set; }
public virtual ICollection Transfigurations { get; set; }
public virtual ICollection Transfigurations1 { get; set; }
}
}