Exemplo n.º 1
0
 public Passport(Passport passport)
 {
     this.name           = passport.name;
     this.passportNumber = passport.passportNumber;
     this.expiryDate     = passport.expiryDate;
 }
Exemplo n.º 2
0
 public Traveler(Passport passport, bool isPayed)
 {
     this.travelerPassport = passport;
     this._isPayed         = isPayed;
 }