2024-12-03 11:58:33 +01:00

28 lines
615 B
C#

using System.ComponentModel.DataAnnotations;
namespace Application.DataTransferObjects.CustomEvent;
public class CreateCustomEventDto
{
[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 Guid AllianceId { get; set; }
[Required]
public required string EventDateString { get; set; }
public bool IsInProgress { get; set; }
}