Torma Kristóf
8347b10401
All checks were successful
continuous-integration/drone/push Build is passing
22 lines
456 B
C#
22 lines
456 B
C#
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; }
|
|
}
|
|
}
|