Révision 6f451cc1 GES_PAC/Model/Lieu.cs
GES_PAC/Model/Lieu.cs | ||
---|---|---|
1 | 1 |
|
2 |
using SQLite; |
|
3 |
|
|
2 | 4 |
namespace GES_PAC.Model |
3 | 5 |
{ |
4 | 6 |
public class Lieu |
5 | 7 |
{ |
6 |
public long Id { get; set; } |
|
8 |
#region Propri?t?s |
|
9 |
[PrimaryKey, AutoIncrement] |
|
10 |
public int Id { get; set; } |
|
7 | 11 |
public string Nom { get; set; } |
8 | 12 |
public string Client { get; set; } |
9 | 13 |
public string Espece { get; set; } |
14 |
#endregion |
|
10 | 15 |
|
16 |
#region Constructeurs |
|
17 |
public Lieu() { } |
|
11 | 18 |
public Lieu(string nom, string client, string espece) |
12 | 19 |
{ |
13 | 20 |
Nom = nom; |
14 | 21 |
Client = client; |
15 | 22 |
Espece = espece; |
16 | 23 |
} |
24 |
#endregion |
|
17 | 25 |
|
18 | 26 |
public override string ToString() |
19 | 27 |
{ |
Formats disponibles : Unified diff