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/Infrastructure/Entities/TrainingProgram.cs

19 lines
485 B

using System.Collections.ObjectModel;
using System.ComponentModel.DataAnnotations;
using Infrastructure.Base;
namespace Infrastructure.Entities;
public class TrainingProgram : EntityBase
{
[Required]
public string Name { get; set; }
public int WeekDuration { get; set; }
public string Description { get; set; }
public string Difficulty { get; set; }
public virtual ICollection<Session> Sessions { get; set; } = new Collection<Session>();
}