public Overview(ParkedVehicle parked) { Id = parked.Id; vehicletype = parked.type; RegistrationNumber = parked.RegistrationNumber; Color = parked.Color; ParkingTime = parked.CheckInTime; }
public Receipt(ParkedVehicle p) { Id = p.Id; RegistrationNumber = p.RegistrationNumber; type = p.type; CheckIn = p.CheckInTime; CheckOut = p.CheckOutTime; TotalTime = p.TotalTime; ParkingPrice = p.ParkingPrice; }