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

namespace SetInitializer.CreateDatabaseIfNotExist.Model
{
    public class Department
    {
        [Key]
        public int DepartmentNo { get; set; }
        public string DepartmentName { get; set; }
        public string Location { get; set; }
        // Uncomment the following piece of code in second run.

        /*
        public int EmpStrength { get; set; }
        */

        // A Department can contain multiple Employees
        public List<Employee> Employees { get; set; }

    }
}
