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

34 lines
680 B
C#

using System.ComponentModel.DataAnnotations;
namespace Application.DataTransferObjects.VsDuel;
public class CreateVsDuelDto
{
[Required]
public Guid AllianceId { get; set; }
[Required]
public Guid VsDuelLeagueId { get; set; }
[Required]
public required string EventDate { get; set; }
[Required]
public bool Won { get; set; }
[Required]
[MaxLength(150)]
public required string OpponentName { get; set; }
[Required]
public int OpponentServer { get; set; }
[Required]
public long OpponentPower { get; set; }
[Required]
public int OpponentSize { get; set; }
public bool IsInProgress { get; set; }
}