46 lines
1.1 KiB
C#
46 lines
1.1 KiB
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.ComponentModel.DataAnnotations;
|
|
using System.Text;
|
|
|
|
namespace gehGassi.Dto.Walks
|
|
{
|
|
/// <summary>
|
|
/// DTO für das Bestätigen eines Walks
|
|
/// </summary>
|
|
public class WalkConfirmDto
|
|
{
|
|
/// <summary>
|
|
/// Id des Walks
|
|
/// </summary>
|
|
[Required]
|
|
[MaxLength(128)]
|
|
public string WalkId { get; set; }
|
|
|
|
/// <summary>
|
|
/// Id des Hundebesitzers
|
|
/// </summary>
|
|
[Required]
|
|
[MaxLength(128)]
|
|
public string AppUserId { get; set; }
|
|
}
|
|
|
|
/// <summary>
|
|
/// DTO für das Bestätigen eines Walks mit Rating für den Dogwalker
|
|
/// </summary>
|
|
public class WalkConfirmWithRatingDto : WalkConfirmDto
|
|
{
|
|
/// <summary>
|
|
/// Vergebene Bewertung für den Dogwalker
|
|
/// </summary>
|
|
[Required]
|
|
public decimal RatingPoints { get; set; }
|
|
|
|
/// <summary>
|
|
/// Anmerkungen zum Rating für den Dogwalker
|
|
/// </summary>
|
|
[MaxLength(500)]
|
|
public string RatingInfo { get; set; }
|
|
}
|
|
}
|