2021-05-19 17:56:56 +02:00
|
|
|
|
using System;
|
2021-05-03 01:30:06 +02:00
|
|
|
|
using System.Collections.Generic;
|
2021-05-19 04:33:53 +02:00
|
|
|
|
using System.ComponentModel.DataAnnotations;
|
2021-05-03 01:30:06 +02:00
|
|
|
|
|
|
|
|
|
namespace HanyadikHetVan.Data.Entities
|
|
|
|
|
{
|
|
|
|
|
public class WeeklyTimeSpan
|
|
|
|
|
{
|
|
|
|
|
public int Id { get; set; }
|
2021-05-19 04:33:53 +02:00
|
|
|
|
|
|
|
|
|
[Required]
|
2021-05-03 01:30:06 +02:00
|
|
|
|
public DateTime Startdate { get; set; }
|
|
|
|
|
|
|
|
|
|
public virtual ICollection<Pause> Pauses { get; set; }
|
2021-05-19 04:33:53 +02:00
|
|
|
|
|
2021-05-19 17:56:56 +02:00
|
|
|
|
public virtual ICollection<FunFact> FunFacts { get; set; }
|
2021-05-19 04:33:53 +02:00
|
|
|
|
|
2021-05-19 17:56:56 +02:00
|
|
|
|
public virtual User User { get; set; }
|
|
|
|
|
|
|
|
|
|
public string UserId { get; set; }
|
2021-05-03 01:30:06 +02:00
|
|
|
|
}
|
|
|
|
|
}
|