WMGZON/models/products/carpart.py

15 lines
312 B
Python
Raw Normal View History

from product import Product
class CarPart(Product):
'''
Constructor for a car part
Contains additional information that is only relevant for car parts
'''
def __init__(self):
super().__init__()
self.make = ""
self.compatibleVehicles = list()