public Demande(int id, DateTime date, string description, string statut, Bénéficiaire benef)
 {
     this.id          = id;
     this.date        = date;
     this.description = description;
     this.statut      = statut;
     this.benef       = benef;
 }
 /// <summary>
 /// Ajoute une nouvelle demande pour l'association
 /// </summary>
 /// <param name="b"></param>
 public void Creation_Demande(Bénéficiaire b)
 {
     this.date        = DateTime.Now;
     this.benef       = b;
     this.statut      = "En attente de Validation";
     this.description = Program.TypeObjets()[1];
     Console.WriteLine();
 }
예제 #3
0
 public Don_accepté(Personne_Morale lieu_stockage, Adhérent gestionnaire, Don d)
 {
     this.lieu_stockage = lieu_stockage;
     this.gestionnaire  = gestionnaire;
     this.date          = d.Date;
     this.type          = d.Type;
     this.reference     = d.Reference;
     this.donateur      = d.Donateur;
     this.description   = d.Description;
     this.identifiant   = d.Identifiant;
     this.hauteur       = d.Hauteur;
     this.largeur       = d.Largeur;
     this.prix          = d.Prix;
     this.beneficiaire  = null;
     this.reserver      = false;
     if (lieu_stockage == null)
     {
         this.statut = "Acceptee";
     }
     else
     {
         this.statut = "Stocke";
     }
 }