﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Web;

namespace Again.Areas.security.Models
{
    public class UserModel
    {
        public int Id { get; set; }

        [Required, Display(Name = "FIRST NAME")]
        [MinLength(2, ErrorMessage = "Minimum of 2 Characters")]
        [MaxLength(15, ErrorMessage = "Maximum of 15 Characters")]
        public string FirstName { get; set; }

        [Required, Display(Name = "LAST NAME")]
        [MinLength(2, ErrorMessage = "Minimum of 2 Characters")]
        [MaxLength(15, ErrorMessage = "Maximum of 15 Characters")]
        public String LastName { get; set; }

        [Range(1, 100)]
        public int? Age { get; set; }

        public string Gender { get; set; }

        public DateTime? EmploymentDate { get; set; }

        public IList<EducationViewModel> Educations { get; set; }


        ////public int Id { get; set; }
        //public int UserId { get; set; }
        //public string School { get; set; }
        //public string YearAttended { get; set; }




    }
}