Sube carpetas API, API.Tests, Application y Domain del Backend

This commit is contained in:
FrancoRu
2026-09-18 13:35:59 -03:00
parent bbb09554bb
commit 2eb4eeef03
572 changed files with 56405 additions and 0 deletions
@@ -0,0 +1,24 @@
using Domain.Enums;
using System;
using System.ComponentModel.DataAnnotations;
namespace Application.DTOs.TeamStaff.Request;
/// <summary>
/// Request to add a member to a team's technical staff; the team is taken from the route.
/// </summary>
public class CreateTeamStaffRequest
{
[Required(ErrorMessage = "The FullName field is required.")]
[MaxLength(150, ErrorMessage = "FullName cannot exceed 150 characters.")]
public required string FullName { get; set; }
public required TeamStaffRole Role { get; set; }
/// <summary>
/// The tournament this staff membership belongs to.
/// </summary>
[Required(ErrorMessage = "The TournamentId field is required.")]
public required Guid TournamentId { get; set; }
}