Révision 18f910c6 GES_PAC/Model/Lieu.cs

Voir les différences:

GES_PAC/Model/Lieu.cs
6 6
        public long Id { get; set; }
7 7
        public string Nom { get; set; }
8 8
        public string Client { get; set; }
9
        public string Espece { get; set; }
9 10

  
10
        public Lieu(string nom, string client)
11
        public Lieu(string nom, string client, string espece)
11 12
        {
12 13
            Nom = nom;
13 14
            Client = client;
15
            Espece = espece;
14 16
        }
15 17

  
16 18
        public override string ToString()
17 19
        {
18
            return $"{Nom} {Client}";
20
            return $"{Nom} {Client} {Espece}";
19 21
        }
20 22
    }
21 23
}

Formats disponibles : Unified diff