//------------------------------------------------------------------------------
// <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 TblTimeOffCompetitionCampaign
    {
        public TblTimeOffCompetitionCampaign()
        {
            this.TblTimeOffCompetitionEntries = new HashSet<TblTimeOffCompetitionEntry>();
        }
    
        public int OID { get; set; }
        public Nullable<System.DateTime> DateCreated { get; set; }
        public string CampaignName { get; set; }
        public Nullable<System.DateTime> DateStart { get; set; }
        public Nullable<System.DateTime> DateEnd { get; set; }
        public Nullable<int> Winner { get; set; }
        public Nullable<int> OptimisticLockField { get; set; }
        public Nullable<int> GCRecord { get; set; }
    
        public virtual TblTimeOffCompetitionEntry TblTimeOffCompetitionEntry { get; set; }
        public virtual ICollection<TblTimeOffCompetitionEntry> TblTimeOffCompetitionEntries { get; set; }
    }
}
