using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace DataAccessLayer.Entities
{
    public class Project : EntityBase
    {
        [Required]
        [StringLength(50)]
        public string Name { get; set; }
        public int? ResponsibleEmployeeId { get; set; }
        public virtual Employee ResponsibleEmployee { get; set; }
        [Required]
        public ProjectState ProjectState { get; set; }
        [Required]
        public DateTime BeganOn { get; set; }
        public DateTime? EndedOn { get; set; }
        [StringLength(255)]
        public string Description { get; set; }
    }
}
