mirror of
https://github.com/TomasiDeveloping/PlayerManagement.git
synced 2026-04-16 09:12:20 +00:00
25 lines
532 B
C#
25 lines
532 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; }
|
|
} |