Tomasi - Developing fa3a0ec218 v.Beta-0.10.0
2025-06-02 08:46:37 +02:00

31 lines
657 B
C#

using System.ComponentModel.DataAnnotations;
namespace Application.DataTransferObjects.DesertStorm;
public class CreateDesertStormDto
{
[Required]
public Guid AllianceId { get; set; }
[Required]
public bool Won { get; set; }
[Required]
public int OpposingParticipants { get; set; }
[Required]
public int OpponentServer { get; set; }
[Required]
public required string EventDate { get; set; }
[Required]
[MaxLength(150)]
public required string OpponentName { get; set; }
[Required]
[MaxLength(1)]
public required string Team { get; set; }
public bool IsInProgress { get; set; }
}