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/FrameDTO.cs

27 lines
621 B

using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using DTOs;
namespace BowlingEF.Entities
{
/// <summary>
/// Classe de gestion des frames
/// </summary>
public class FrameDTO
{
#region Properties
public long Id { get; set; }
[Required]
public int Numero { get; set; }
[Required]
public int Lancer1 { get; set; }
[Required]
public int Lancer2 { get; set; }
public int Lancer3 { get; set; }
public PartieDTO Partie { get; set; }
#endregion
}
}