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/DTOs/JoueurDTO.cs

19 lines
536 B

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