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.
19 lines
477 B
19 lines
477 B
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<Session> Sessions { get; set; } = new Collection<Session>();
|
|
} |