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.

45 lines
969 B

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Entity_Framework.Entity
{
public class Pilotes
{
public int Id { get; set; }
public string Pseudo { get; set; }
public string Email { get; set; }
public string Password { get; set; }
/*{ get
{
return Password;
}
set
{
Password = BCrypt.Net.BCrypt.HashPassword(value);
}
}*/
// -------------------- Relation -------------------- //
// Ecurie liste
public int? IdEcurie { get; set; }
public Ecuries Ecurie { get; set; }
//Ecurie propriétaire
public Ecuries EcuriePropriétaire { get; set; }
// Courses
public List<Sessions> Sessions { get; set; }
//Images
public Images Image { get; set; }
}
}