You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
OptifitWebService/Server/Dto/Request/RequestProgramDto.cs

20 lines
478 B

using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
namespace Server.Dto.Request
{
public class RequestProgramDto
{
[Required]
public string Name { get; set; }
[Required]
public int WeekDuration { get; set; }
public string Description { get; set; }
public string Difficulty { get; set; }
public List<RequestSessionDto> Sessions { get; set; } = new List<RequestSessionDto>();
}
}