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

namespace TimeControlReportEnhancements.Models
{
    public class HoursByProject
    {
        public string ProjectName { get; set; }
        public int Hours { get; set; }
    }

    public class ResourceByProject
    {
        public string EmpName { get; set; }
        public string ProjectName { get; set; }
        public int Hours { get; set; }
        public string CostCenterName { get; set; }
    }


    public class Project
    {
        [Required(AllowEmptyStrings = false, ErrorMessage = "Please Provide ProjectName")]
        public string ProjectName { get; set; }

        [Required(AllowEmptyStrings = false, ErrorMessage = "Please Provide ProjectCode")]
        public string ProjCode { get; set; }
    }
    public class Employee
    {
        public int EmployeeNumber { get; set; }

        [Required(AllowEmptyStrings = false, ErrorMessage = "Please Select EmployeeName")]
        public string EmployeeName { get; set; }

    }

    public class Department
    {
        public string DeptName { get; set; }

    }
    public class ChargeCode
    {
        [Required(AllowEmptyStrings = false, ErrorMessage = "Please Provide Charge CodeName")]
        public string ChargeCodeName { get; set; }

    }
    public class CostCenter
    {
        [Required(AllowEmptyStrings = false, ErrorMessage = "Please Provide Cost CenterName")]
        public string CostCenterName { get; set; }

    }
}