33 lines
698 B
C#
33 lines
698 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
using Koogle.Domain.Enums;
|
|
|
|
namespace Koopgle.Application.DTOs
|
|
{
|
|
public record PlayerDto
|
|
{
|
|
public int Id { get; init; }
|
|
|
|
public string Name { get; init; } = string.Empty;
|
|
|
|
public PlayerStatus PlayerStatus { get; set; }
|
|
}
|
|
|
|
public record CreatePlayerDto
|
|
{
|
|
public string Name { get; set; } = string.Empty;
|
|
|
|
public PlayerStatus PlayerStatus { get; set; }
|
|
}
|
|
|
|
public record UpdatePlayerDto
|
|
{
|
|
public string Name { get; set; } = string.Empty;
|
|
|
|
public PlayerStatus PlayerStatus { get; set; }
|
|
}
|
|
}
|