public Car(Car c) { this.GodisteAutomobila = c.GodisteAutomobila; this.Registracija = c.Registracija; this.TaxiId = c.TaxiId; this.TipAutomobila = c.TipAutomobila; }
public Car(string godisteautomobila, string registracija, string taxiid, CARTYPE tipautomobila) { GodisteAutomobila = godisteautomobila; Registracija = registracija; TaxiId = taxiid; TipAutomobila = tipautomobila; }
public Ride(DateTime datumporudzbine, Location lokacija, string musterija, Location odrediste, string vozac, double iznos, Comment komentar, RideStatus statusVoznje, string dispatcher, CARTYPE tipvozila) { DatumIVremePorudzbine = datumporudzbine; LokacijaPolazna = lokacija; Musterija = musterija; Odrediste = odrediste; Vozac = vozac; Iznos = iznos; Komentar = komentar; StatusVoznje = statusVoznje; Dispatcher = dispatcher; TipVozila = tipvozila; }