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.
17 lines
426 B
17 lines
426 B
using System.Collections.ObjectModel;
|
|
using System.ComponentModel.DataAnnotations;
|
|
using Infrastructure.Base;
|
|
|
|
namespace Infrastructure.Entities;
|
|
|
|
public class Session : EntityBase
|
|
{
|
|
[Required]
|
|
public string Name { get; set; }
|
|
|
|
public string Description { get; set; }
|
|
|
|
public float Duration { get; set; }
|
|
|
|
public virtual ICollection<Exercice> Exercices { get; set; } = new Collection<Exercice>();
|
|
} |