using System.Collections.ObjectModel; using System.ComponentModel.DataAnnotations; using Infrastructure.Base; namespace Infrastructure.Entities; public class Program : 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 Sessions { get; set; } = new Collection(); }