Add garage shop
This commit is contained in:
parent
3fe844ec8f
commit
e84bbafca4
1 changed files with 15 additions and 1 deletions
|
|
@ -5,7 +5,7 @@ from typing import Annotated
|
||||||
from src.modules import auth_manager
|
from src.modules import auth_manager
|
||||||
from fastapi import Depends
|
from fastapi import Depends
|
||||||
|
|
||||||
|
#Fruit shop
|
||||||
melon = product_classes.Product(name="Meloen", price=2.0, barcode=1000 ,image_filename="melon")
|
melon = product_classes.Product(name="Meloen", price=2.0, barcode=1000 ,image_filename="melon")
|
||||||
pear = product_classes.Product(name="Peer", price=1.0, barcode=1001 ,image_filename="pear")
|
pear = product_classes.Product(name="Peer", price=1.0, barcode=1001 ,image_filename="pear")
|
||||||
peach = product_classes.Product(name="Perzik", price=1.0, barcode=1002 ,image_filename="peach")
|
peach = product_classes.Product(name="Perzik", price=1.0, barcode=1002 ,image_filename="peach")
|
||||||
|
|
@ -21,6 +21,20 @@ blueberry = product_classes.Product(name="Bosbes", price=1.0, barcode=1011 ,imag
|
||||||
raspberry = product_classes.Product(name="Framboos", price=1.0, barcode=1012 ,image_filename="raspberry")
|
raspberry = product_classes.Product(name="Framboos", price=1.0, barcode=1012 ,image_filename="raspberry")
|
||||||
lemon = product_classes.Product(name="Citroen", price=1.0, barcode=1013 ,image_filename="lemon")
|
lemon = product_classes.Product(name="Citroen", price=1.0, barcode=1013 ,image_filename="lemon")
|
||||||
|
|
||||||
|
#Garage shop
|
||||||
|
tire = product_classes.Product(name="Wiel", price=5.0, barcode=1014 ,image_filename="tire")
|
||||||
|
wash = product_classes.Product(name="Wassen", price=3.0, barcode=1015 ,image_filename="wash")
|
||||||
|
oil = product_classes.Product(name="Olie", price=2.0, barcode=1016 ,image_filename="oil")
|
||||||
|
gas = product_classes.Product(name="Benzine", price=5.0, barcode=1017 ,image_filename="gas")
|
||||||
|
work_time = product_classes.Product(name="Werkuren", price=2.0, barcode=1018 ,image_filename="work_time")
|
||||||
|
tool_usage = product_classes.Product(name="Gereedschap gebruik", price=1.0, barcode=1019 ,image_filename="tool_usage")
|
||||||
|
steering_wheel = product_classes.Product(name="Stuurwiel", price=3.0, barcode=1020 ,image_filename="steering_wheel")
|
||||||
|
air_pump = product_classes.Product(name="Luchtpomp", price=1.0, barcode=1021 ,image_filename="air_pump")
|
||||||
|
bike_bell = product_classes.Product(name="Fietsbel", price=1.0, barcode=1022 ,image_filename="bike_bell")
|
||||||
|
light = product_classes.Product(name="Licht", price=2.0, barcode=1023 ,image_filename="light")
|
||||||
|
flashlight = product_classes.Product(name="Zaklamp", price=1.0, barcode=1024 ,image_filename="flashlight")
|
||||||
|
search = product_classes.Product(name="Zoeken", price=2.0, barcode=1025 ,image_filename="search")
|
||||||
|
|
||||||
product_list = [melon,pear,peach,orange,apple,banana,cherry,kiwi,grape,strawberry,pineapple,blueberry,raspberry,lemon]
|
product_list = [melon,pear,peach,orange,apple,banana,cherry,kiwi,grape,strawberry,pineapple,blueberry,raspberry,lemon]
|
||||||
|
|
||||||
def get_all_products() -> list[product_classes.Product]:
|
def get_all_products() -> list[product_classes.Product]:
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue