root / GES_PAC / Model / Lieu.cs @ 6f451cc1
Historique | Voir | Annoter | Télécharger (671 octets)
1 |
|
---|---|
2 |
using SQLite; |
3 |
|
4 |
namespace GES_PAC.Model |
5 |
{ |
6 |
public class Lieu |
7 |
{ |
8 |
#region Propri?t?s |
9 |
[PrimaryKey, AutoIncrement] |
10 |
public int Id { get; set; } |
11 |
public string Nom { get; set; } |
12 |
public string Client { get; set; } |
13 |
public string Espece { get; set; } |
14 |
#endregion |
15 |
|
16 |
#region Constructeurs |
17 |
public Lieu() { } |
18 |
public Lieu(string nom, string client, string espece) |
19 |
{ |
20 |
Nom = nom; |
21 |
Client = client; |
22 |
Espece = espece; |
23 |
} |
24 |
#endregion |
25 |
|
26 |
public override string ToString() |
27 |
{ |
28 |
return $"{Nom} {Client} {Espece}"; |
29 |
} |
30 |
} |
31 |
} |