HegreHotel/Models/Client.cs

21 lines
394 B
C#
Raw Permalink Normal View History

2025-01-16 17:50:56 +01:00
namespace HegreHotel.Models;
using SQLite;
public class Client
{
[PrimaryKey, AutoIncrement]
public int Id { get; set; }
[MaxLength(100)]
public string? Nom { get; set; }
[MaxLength(100)]
public string? Prenom { get; set; }
[MaxLength(150), Unique]
public string? Email { get; set; }
[MaxLength(15), Unique]
public string? Telephone { get; set; }
}