Пример #1
0
 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;
 }
Пример #2
0
        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;
        }