using HanyadikHetVan.DTO;
using System;
using System.ComponentModel.DataAnnotations;

namespace HanyadikHetVan.Data.Entities
{
    public class Pause
    {
        public int Id { get; set; }

        public int WeeklyTimeSpanId { get; set; }

        public virtual WeeklyTimeSpan WeeklyTimeSpan { get; set; }

        [Required]
        public DateTime Startdate { get; set; }

        [Required]
        public DateTime Enddate { get; set; }
    }
}
