public IdeeCadeau(int pId_ideeCadeau, Personne pIdeeCadeauPour, Cadeau pCadeau, String pPriorite, Personne pPropose_par) { this.id_ideeCadeau = pId_ideeCadeau; this.ideeCadeauPour = pIdeeCadeauPour; this.cadeau = pCadeau; this.priorite = pPriorite; this.proposePar = pPropose_par; }
public IdeeCadeau() { Personne pIdeeCadeauPour = new Personne(); Cadeau pCadeau = new Cadeau(); Personne pProposePar = new Personne(); List <Lien> pListeDeLiens = new List <Lien>(); List <Vote> pListeVotes = new List <Vote>(); this.ideeCadeauPour = pIdeeCadeauPour; this.cadeau = pCadeau; this.proposePar = pProposePar; this.listeDeLiens = pListeDeLiens; this.listeDeVotes = pListeVotes; }