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.
ApiBowlingProject/Sources/BowlingEF/Entities/JoueurEntity.cs

21 lines
578 B

using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace BowlingEF.Entities
{
/// <summary>
/// Classe de gestion des Joueurs
/// </summary>
public class JoueurEntity
{
#region Properties
[Key]
[DatabaseGenerated(DatabaseGeneratedOption.Identity)]
public long Id { get; set; }
[Required]
public string Pseudo { get; set; }
public virtual ICollection<PartieEntity> PartieEntities { get; set; } = new List<PartieEntity>();
#endregion
}
}