mirror of
https://github.com/TomasiDeveloping/PlayerManagement.git
synced 2026-04-16 09:12:20 +00:00
30 lines
617 B
C#
30 lines
617 B
C#
using System.ComponentModel.DataAnnotations;
|
|
|
|
namespace Application.DataTransferObjects.CustomEvent;
|
|
|
|
public class UpdateCustomEventDto
|
|
{
|
|
[Required]
|
|
public Guid Id { get; set; }
|
|
|
|
[Required]
|
|
[MaxLength(150)]
|
|
public required string Name { get; set; }
|
|
|
|
[Required]
|
|
public bool IsPointsEvent { get; set; }
|
|
|
|
[Required]
|
|
public bool IsParticipationEvent { get; set; }
|
|
|
|
[Required]
|
|
[MaxLength(500)]
|
|
public required string Description { get; set; }
|
|
|
|
[Required]
|
|
public required string EventDate { get; set; }
|
|
|
|
[Required]
|
|
public bool IsInProgress { get; set; }
|
|
|
|
} |