예제 #1
0
 public ChambreDouble(IChambre c) : base(c)
 {
     nbDePersonnes  = base.getNbDePersonnes() * 2;
     prixParNuitTTC = base.getPrixParNuitTTC() * 2 - 20;
 }
예제 #2
0
 public ChambreSimple(IChambre c) : base(c)
 {
     this.nbDePersonnes  = base.getNbDePersonnes();
     this.prixParNuitTTC = base.getPrixParNuitTTC();
 }
예제 #3
0
 public DetailModel(IChambre chambre)
 {
     _chambre = chambre;
 }
예제 #4
0
 public ChambreDecorateur(IChambre c)
 {
     this._decore = c;
 }
예제 #5
0
 public CreateReservationModel(IReservation reservation, IChambre chambre)
 {
     _reservation = reservation;
     _chambre     = chambre;
 }