Tomasi - Developing 711fb4adaa v 0.9.0
2025-04-23 16:03:41 +02:00

30 lines
663 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; }
public Guid? CustomEventCategoryId { get; set; }
[Required]
public required string EventDate { get; set; }
public bool IsInProgress { get; set; }
}