2021-05-19 04:33:53 +02:00
|
|
|
|
using Microsoft.AspNetCore.Identity;
|
|
|
|
|
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
|
|
|
|
|
|
|
|
|
public virtual IdentityUser Owner { get; set; }
|
|
|
|
|
|
|
|
|
|
public String OwnerId { get; set; }
|
2021-05-03 01:30:06 +02:00
|
|
|
|
}
|
|
|
|
|
}
|