from ..models.user import UserData

drivers = [{
                "car_model": "BMW",
                "car_regno": "KBG 009T",
                "email": "<EMAIL>",
                "id": 3,
                "password": "<PASSWORD>",
                "username": "Tabby"    
                },
                ]
class DriverData(UserData):
    """This class stores drivers data"""

    def __init__(self, username,email,password,car_model,car_regno):
        super().__init__(username,email,password)
        self.id = len (drivers)+ 1
        self.car_model = car_model
        self.car_regno = car_regno



    

from ..models.user import UserData

drivers = [{
                "car_model": "BMW",
                "car_regno": "KBG 009T",
                "email": "<EMAIL>",
                "id": 3,
                "password": "<PASSWORD>",
                "username": "Tabby"    
                },
                ]
class DriverData(UserData):
    """This class stores drivers data"""

    def __init__(self, username,email,password,car_model,car_regno):
        super().__init__(username,email,password)
        self.id = len (drivers)+ 1
        self.car_model = car_model
        self.car_regno = car_regno



    

This class stores drivers data