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
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
Parameters for Class Refuel:
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
Parameters for Class UserAccount:
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
Parameters for Class Car:
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
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
Scope