def read_car_input(self):
        carEntity = CarScheme()
        carEntity.name = input("enter car name: ")
        carEntity.color = input("enter car color: ")
        carEntity.model = input("enter car model: ")
        carEntity.car_number = input("enter car number: ")
        while not CheckInput.test_car_number(carEntity.car_number):
            carEntity.car_number = input("Wrong input!\nTry again: ")

        carEntity.price_per_day = input("enter car's price per day: ")
        while not CheckInput.test_price(carEntity.price_per_day):
            carEntity.price_per_day = input("Wrong input!\nTry again: ")

        carEntity.has_automatic_transmission = input("enter car if car has automatic transmision (True/False): ")
        while carEntity.has_automatic_transmission != "True" and carEntity.has_automatic_transmission != "False":
            carEntity.has_automatic_transmission = input("Wrong input!\nTry again: ")

        return carEntity
    def read_car_update_input(self):
        carEntity = CarScheme()
        carEntity.car_number = input("enter car number: ")
        while not CheckInput.test_car_number(carEntity.car_number):
            carEntity.car_number = input("Wrong input!\nTry again: ")
        if CheckInput.check_car_existence(carEntity.car_number):
            carEntity.name = input("enter new car name: ")
            carEntity.color = input("enter new car color: ")
            carEntity.model = input("enter new car model: ")
            carEntity.price_per_day = input("enter new car's price per day: ")
            while not CheckInput.test_price(carEntity.price_per_day):
                carEntity.price_per_day = input("Wrong input!\nTry again: ")

            carEntity.has_automatic_transmission = input("enter if new car has automatic transmision (True/False): ")
            while carEntity.has_automatic_transmission != "True" and carEntity.has_automatic_transmission != "False":
                carEntity.has_automatic_transmission = input("Wrong input!\nTry again: ")

            return carEntity
        else:
            print("There is no such car in db!")
            return None