//------------------------------------------------------------------------------
// <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 TblTimeOffCompetitionEntry
    {
        public TblTimeOffCompetitionEntry()
        {
            this.TblTimeOffCompetitions = new HashSet<TblTimeOffCompetition>();
            this.TblTimeOffCompetitionCampaigns = new HashSet<TblTimeOffCompetitionCampaign>();
        }
    
        public int OID { get; set; }
        public Nullable<int> Lead { get; set; }
        public string School { get; set; }
        public string NameAndSurname { get; set; }
        public string CellphoneNumber { get; set; }
        public string EmailAddress { get; set; }
        public Nullable<System.DateTime> DateCreated { get; set; }
        public Nullable<int> OptimisticLockField { get; set; }
        public Nullable<int> GCRecord { get; set; }
        public string Suburb { get; set; }
        public Nullable<int> Campaign { get; set; }
        public Nullable<int> Competition { get; set; }
    
        public virtual ICollection<TblTimeOffCompetition> TblTimeOffCompetitions { get; set; }
        public virtual TblTimeOffCompetition TblTimeOffCompetition { get; set; }
        public virtual ICollection<TblTimeOffCompetitionCampaign> TblTimeOffCompetitionCampaigns { get; set; }
        public virtual TblTimeOffCompetitionCampaign TblTimeOffCompetitionCampaign { get; set; }
    }
}
