using System;
using System.Collections.Generic;
using System.Text;
using System.ComponentModel.DataAnnotations;
using Project.Data.Project;
namespace SPWA.DataAccess.Data.Models
{
    public class Term
    {
        [Key]
        public int TermID { get; set; }
        public string Name { get; set; }
        public int TermYear { get; set; }
        public bool Active { get; set; }
        public bool AllowJudgeLogin { get; set; }
        public bool ShowGrade { get; set; }
        public int StudentPerJudge { get; set; }
        public string Location { get; set; }
        public string MapUrl { get; set; }
        public string SeniorProjectUrl { get; set; }
        public string SeniorProjectToken { get; set; }
        public string RegistrationTokenOne { get; set; }
        public string RegistrationTokenTwo { get; set; }
        public string RegistrationTokenThree { get; set; }
        public string LiveUrl { get; set; }
        public string DevUrl  { get; set; }
        public string NoProfileImageUrl { get; set; }
        public int MailFrom { get; set; }
        public int ResetPasswordTemplate { get; set; }
        public int ConfirmTemplate { get; set; }
        public int InitianteRegistration { get; set; }
        public int AcceptConfirmation { get; set; }
        public int RejectInviteTemplate { get; set; }
        public int AcceptInviteTemplate { get; set; }
        public int Display { get; set; }

        public DateTime Deadline { get; set; }
        public DateTime StartTerm { get; set; }
        public DateTime EndTerm { get; set; }

        public DateTime CreatedAt { get; set; }
        public DateTime UpdatedAt { get; set; }

        public ICollection<ApplicationUser> ApplicationUser { get; set; }
        public ICollection<Project.Data.Project.Project> Project { get; set; }

        public ICollection<Email> EmailsList { get; set; }
        public ICollection<Grade> GradesList { get; set; }
    }
}
