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