public Vehicle(string licensePlates, string color, int price, TypeVehicle typeVehicle, int age, TypeStatusVehicle status, int mileage) { this.licensePlates = licensePlates; this.color = color; this.price = price; this.typeVehicle = typeVehicle; this.age = age; this.status = status; this.mileage = mileage; }
public Car(string licensePlates, string color, int price, TypeVehicle typeVehicle, int age, TypeStatusVehicle status, int mileage, int seating) : base(licensePlates, color, price, typeVehicle, age, status, mileage) { this.seating = seating; }
public Truck(string licensePlates, string color, int price, TypeVehicle typeVehicle, int age, TypeStatusVehicle status, int mileage, int weight) : base(licensePlates, color, price, typeVehicle, age, status, mileage) { this.weight = weight; }
public Moto(string licensePlates, string color, int price, TypeVehicle typeVehicle, int age, TypeStatusVehicle status, int mileage, int cylinderVolume) : base(licensePlates, color, price, typeVehicle, age, status, mileage) { this.cylinderVolume = cylinderVolume; }