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 TimeSheetRecord : EntityBase
    {
        public DateTime From { get; set; }
        public DateTime To { get; set; }
        public virtual Employee Employee { get; set; }
        public int? EmployeeId { get; set; }
        public int? ProjectId { get; set; }
        public virtual Project Project { get; set; }

        [StringLength(100)]
        public string Comment { get; set; }

    }
}

