TobiaszFuczek / Fuel-Consumption

0 stars 0 forks source link

As a user I want to register the refueling so that I can store that data, having an access to the details related to the refueling history and its details i.e.: registration date time (provided manually), number of liters refueled, number of kilometers driven from the last refueling point #5

Open TobiaszFuczek opened 11 months ago

TobiaszFuczek commented 11 months ago

User Story šŸ“– : As a user I want to register the refueling so that I can store that data, having an access to the details related to the refueling history and its details i.e.: registration date time (provided manually), number of liters refueled, number of kilometers driven from the last refueling point

Description

Function allow registrationed new refuel, implement manually date, hour, amount liters refueled as well as amount kilometers drove from last refueled

date (type: string)- date in format DD-MM-YYYY hour (type: string- hour registration in format HH:MM amount_liters (type: float)- amount liters refueled kilometers (type: float)- amount drove kilometers from last refueled user (type: UserAccount)- contains data from UserAccount Class car (type: Car)- contains data from Car Class

login (type: string)- requires administration email password (type: string)- requires (min. 8 characters, one big letter, one special character) cars (type: Car[])- additional cars to list of cars, return list of cars

name (type: string)- the car brand user_account (type: UserAccount[])- requires administration user_account, return list users refueling_history (type: Refuel[])- contains data from Refuel Class, return refuelaing history

image

Scope