ajout de camp.cs

master
Loris OBRY 2 years ago
parent 45dfdb77d6
commit 4da35da005

@ -0,0 +1,23 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Model
{
public class Camp
{
public string Nom { get; set; }
public string Description { get; set; }
public string LienImage { get; set; }
public List<Carte> Cartes { get; set; }
public Camp(string Nom, string Description, string LienImage)
{
this.Nom = Nom;
this.Description = Description;
this.LienImage = LienImage;
this.Cartes = new List<Carte>();
}
}
}
Loading…
Cancel
Save