46 lines
1.0 KiB
C#
46 lines
1.0 KiB
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.ComponentModel.DataAnnotations;
|
|
using System.Text;
|
|
using gehGassi.Dto.Common;
|
|
|
|
namespace gehGassi.Dto.DogWalkers
|
|
{
|
|
/// <summary>
|
|
/// DTO für eine WalkingTime Einstellung eines DogWalkers
|
|
/// </summary>
|
|
public class WalkingTimeDto : SyncEntityDto
|
|
{
|
|
/// <summary>
|
|
/// Id des DogWalkers
|
|
/// </summary>
|
|
[Required]
|
|
[MaxLength(128)]
|
|
public string DogWalkerId { get; set; }
|
|
|
|
/// <summary>
|
|
/// Tag in der Woche (So - Mo)
|
|
/// </summary>
|
|
[Required]
|
|
public DayOfWeek Day { get; set; }
|
|
|
|
/// <summary>
|
|
/// Startzeit
|
|
/// </summary>
|
|
[Required]
|
|
public TimeSpan Start { get; set; }
|
|
|
|
/// <summary>
|
|
/// Endzeit
|
|
/// </summary>
|
|
[Required]
|
|
public TimeSpan End { get; set; }
|
|
|
|
/// <summary>
|
|
/// Ist die Einstellung aktiv?
|
|
/// </summary>
|
|
[Required]
|
|
public bool Enabled { get; set; }
|
|
}
|
|
}
|