tkz96 / jet-log-frontend

MIT License
0 stars 3 forks source link

[2pt] - Add Plane Page #8

Open tkz96 opened 1 year ago

tkz96 commented 1 year ago

-- Plane name/model - (For e.g. A-320, Boeing 737) - [STRING]

-- Make year - (For e.g. 1994) - [INTEGER]

-- Country of origin - (For e.g USA) - [STRING]

-- Fuel economy - (graded. For e.g. A, A+, B+) - [STRING]

-- Long-range cruise speed - (in Mach) - [FLOAT]

-- Crew - (# of crew members) - [INTEGER]

-- Passenger capacity - (# of seats) - [INTEGER]

-- Plane description - [TEXT]

-- Image of the plane (please use a transparent background if possible) - [STRING]

tkz96 commented 1 year ago

This is just an example. Not indicative of factual information:

Plane.create(name:"A-320", make_year:1972, country_of_origin: "USA", fuel_economy:"A+", long_range_cruise_speed: 0.7, passenger_capacity:100, crew:20, description:"Best plane ever!!!!!!!!!", img_url:"https://en.wikipedia.org/wiki/Airbus_A320_family#/media/File:Vistara_VT-TTF_at_Bengaluru,_2016-02-20.jpg")