using System.Collections.Generic; using System.ComponentModel.DataAnnotations; namespace Server.Dto.Request { public class RequestSessionDto { [Required] public string Name { get; set; } public string Description { get; set; } public float Duration { get; set; } public List Exercices { get; set; } = new List(); } }