hanyadikhetvan-dotnethf/HanyadikHetVan/Data/Entities/Pause.cs

22 lines
456 B
C#
Raw Permalink Normal View History

2021-05-19 04:33:53 +02:00
using HanyadikHetVan.DTO;
using System;
using System.ComponentModel.DataAnnotations;
2021-05-03 01:30:06 +02:00
namespace HanyadikHetVan.Data.Entities
{
public class Pause
{
public int Id { get; set; }
2021-05-19 04:33:53 +02:00
2021-05-03 01:30:06 +02:00
public int WeeklyTimeSpanId { get; set; }
2021-05-19 04:33:53 +02:00
2021-05-03 01:30:06 +02:00
public virtual WeeklyTimeSpan WeeklyTimeSpan { get; set; }
2021-05-19 04:33:53 +02:00
[Required]
2021-05-03 01:30:06 +02:00
public DateTime Startdate { get; set; }
2021-05-19 04:33:53 +02:00
[Required]
2021-05-03 01:30:06 +02:00
public DateTime Enddate { get; set; }
}
}