unversity car rental final project of the e-development team: donna, brian, mike, art, & stephen

14
Unversity Car Rental Final Project of the E- Development Team: Donna, Brian, Mike, Art, & Stephen

Upload: bruno-singleton

Post on 16-Dec-2015

214 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Unversity Car Rental Final Project of the E-Development Team: Donna, Brian, Mike, Art, & Stephen

Unversity Car Rental

Final Project of the E-Development Team: Donna, Brian, Mike, Art, & Stephen

Page 2: Unversity Car Rental Final Project of the E-Development Team: Donna, Brian, Mike, Art, & Stephen

Flow Diagram for Front End

Main Menu Reservation Add

Modify Delete

Rental

Reservation Lookup

Add

Rental Return

Inventory Location

Status

Etc.

Admin

Customer

Car Car Type

Etc.Car Detail

Info

Exit

Page 3: Unversity Car Rental Final Project of the E-Development Team: Donna, Brian, Mike, Art, & Stephen

University Car Rental SystemRequirements

SW - SoftwareSWC - Software ConstraintHW - HardwareP - PerformanceNTH - Nice to haveDR - Derived requirementD(#nn) - Duplicate entry of #nnBR - Business reqirement

Entry# Doc Paragraph# Requirement description Type Build Priority1 1 1 Rentals will be throughout the New England region. BR Alpha High2 1 1 The system will allow flexibility to expand nationally in the future. SW,BR Alpha High3 1 1 The system will provide the company with a operational application. SW,HW Release High4 1 1 Inventory will be an initial fleet of 1000 cars. BR,SW Beta High5 1 2 The system will be able to expand on the number in cars in fleet. SW Beta Low6 1 2 Logistics will be able to manage an increase in cars through leasing. NTH Beta Medium7 1 2 Logistics willl need to identify inventory requirments of fleet 12hrs in advance. SWC Alpha Medium8 1 2 The system will identify cars in inventory that meet requirements for resale. SWC Next ReleaseLow9 1 3 The system will be online 24 hours a day 7 days a week. SW Release High10 1 3 Inventory projections will be able to track overall inventory regardless of location. SW, HW Beta High11 1 3 The system will initially support a minimum of 51 workstations and be expandible. SW, HW Release High12 1 4 Cars shall be identified as subcompact, compact, full size. BR,SW Alpha High13 1 4 Cars are priced based on type of car rented and for how long. BR Beta High14 1 4 Rentals will be charged on a daily rate. BR Alpha High15 1 4 Inventory shall include make, model, color of car. BR Alpha High16 1 5 Reservations will be accepted by telephone or walk in. BR Alpha High17 1 5 Reservations will be accepted through Kiosk and internet web page. BR, NTH Next ReleaseMedium18 1 6 Each reservation shall include car type, pick-up/drop off time and location BR Alpha High19 1 6 A single reservation can reserve multiple cars. BR Alpha Medium20 1 6 Reservations will take credit card information. DR,SW Alpha High21 1 6 Reservations will be created with a credit card. BR Alpha High22 1 6 Reservations will be held for 12hrs after designated pickup time. BR Release Medium23 1 8 Each car shall be assigned a numbered parking space. BR,SW Alpha High24 1 8 Cars leaving lot shall be checked against rental agreement. HW, BR Alpha High25 1 9 The rental agreement will be populated from reservation info (if one exists) SWC Beta Medium26 1 9 The rental information shall be updateable exept for customer and pick up site. SWC Beta High27 1 9 The rental screen will allow up to three available vehicles in requested class. SWC, BR Beta Medium28 1 10 When vehicle is returned status will be updated. SW Alpha High29 1 10 When vehicle is returned rental agreemant will be updated. SW Alpha High30 1 10 When vehicle is returned parking space number will be assigned. SW,BR Alpha High31 2 2 Logistics shall track cars, car type and site. DR Beta Medium32 2 2 Tracking shall project for next 12 hours. BR Beta Medium33 2 3 Inventory shall be projected by Reservations. BR Alpha Medium34 2 3 Inventory projections shall be decrement from the drop off period forward. BR,SW Alpha Medium35 2 5 Reservation changes shall effect inventory projections DR,SW Next ReleaseMedium36 2 6 A leased car will be available two periods following the request BR,SW Release High37 2 6 A rental or reservation will be rejected if inventory projection is negative in next 24

hoursBR,SW Beta High

38 2 7 Logistics will evaluate inventory at all sites. SW Release Medium39 2 8 Leased cars will be added to car location list BR Beta Medium40 2 8 Logistics will update car location. BR,SW,HW Release Medium41 2 8 Inventory adjustments are made when a care is leased or moved. DR,SW Beta Medium42 2 9 Leased or moved care will be part of site inventory. BR Beta Medium43 2 10 Scheduling of leased cars will not affect projected inventory. BR Release Medium44 2 11 Inventory will be adjusted by out of service cars. BR Next ReleaseMedium45 2 12 Car inventory can be manually adjusted. DR,SW Beta Medium46 2 13 Projected inventory can be different from actual inventory based on changes to the

rental agreement.DR,SW Next ReleaseMedium

Type Legend:

Page 4: Unversity Car Rental Final Project of the E-Development Team: Donna, Brian, Mike, Art, & Stephen

Ref_321

Ref_318

Ref_315

Ref_312

Ref_309

Ref_306

Ref_303

Ref_300

Ref_295

Ref_292Ref_289

Ref_286

Ref_283

Ref_277

Ref_274

period

period_idperiod_startperiod_end

make

make_idmake_name

car_type

car_type_idcar_type_namerankrate

model

model_idmodel_name

site

site_idsite_namesite_phonemanagertotal_space

parking_space

space_iddirectionsprimaryforeign

car

vinspace_idcoloryearreg_statereg_numberreg_expirationmileagelast_maintenanceis_outofserviceis_leasedforeign

customer

ssnlast_namefirst_nameaddressphonelicense_statelicense_numberdob

reservation

pick_up_period_idpick_up_site_iddrop_off_period_iddrop_off_site_idquantityquoted_ratecredit_cardcommentsprimaryforeignCHECK

rental

pick_up_period_idpick_up_site_iddrop_off_period_iddrop_off_site_idres_car_type_idres_pick_up_period_iddriver_ssnmileage_outactual_rateprimaryforeign

closed_rental

last_namefirst_namepick_up_period_idpick_up_period_startpick_up_period_endpick_up_site_idpick_up_site_namelicense_numberdrop_off_period_iddrop_off_period_startdrop_off_period_enddrop_off_site_iddrop_off_site_nameact_drop_off_period_idact_drop_off_period_startact_drop_off_period_endact_drop_off_site_idact_drop_off_site_namedriver_ssnmileage_outmileage_inactual_ratepaymentcredit_cardprimary

inventory

quantityprimary

log_move

pick_up_period_idpick_up_site_iddrop_off_period_iddrop_off_site_idquantitycommentsprimary

The Conceptual Data Model of the Car Rental System

Page 5: Unversity Car Rental Final Project of the E-Development Team: Donna, Brian, Mike, Art, & Stephen

ssn = ssn

ssn = ssn

ssn = ssn

vin = vin

vin = vin

site_id = site_id

site_id = site_id

site_id = site_id

make_id = make_idmodel_id = model_id

car_type_id = car_type_idcar_type_id = car_type_id

car_type_id = car_type_id

car_type_id = car_type_id

make_id = make_id

period_id = period_id

periodperiod_id INTEGERperiod_start DATEperiod_end DATE

makemake_id INTEGERmake_name VARCHAR(20)

car_typecar_type_id INTEGERcar_type_name VARCHAR(20)rank INTEGERrate numeric(6,2)

modelmake_id INTEGERmodel_id INTEGERmodel_name VARCHAR(20)car_type_id INTEGER

sitesite_id INTEGERsite_name VARCHAR(20)site_phone CHAR(10)manager VARCHAR(20)total_space INTEGER

parking_spacesite_id INTEGERspace_id INTEGERdirections VARCHAR(50)primary key(site_id,space_id)foreign key

carvin VARCHAR(20)site_id INTEGERmake_id INTEGERmodel_id INTEGERspace_id INTEGERcolor VARCHAR(20)year INTEGERreg_state CHAR(2)reg_number VARCHAR(7)reg_expiration DATEmileage INTEGERlast_maintenance DATEis_outofservice INTEGERis_leased INTEGERforeign key

customerssn numeric(9,0)last_name CHAR(20)first_name CHAR(20)address CHAR(40)phone CHAR(10)license_state CHAR(2)license_number numeric(9,0)dob DATE

reservationssn numeric(9,0)car_type_id INTEGERpick_up_period_id INTEGERpick_up_site_id INTEGERdrop_off_period_id INTEGERdrop_off_site_id INTEGERquantity INTEGERquoted_rate numeric(6,2)credit_card VARCHAR(20)comments VARCHAR(100)primary keyforeign keyCHECK (quantity

rentalvin VARCHAR(20)ssn numeric(9,0)pick_up_period_id INTEGERpick_up_site_id INTEGERdrop_off_period_id INTEGERdrop_off_site_id INTEGERres_car_type_id INTEGERres_pick_up_period_id INTEGERdriver_ssn numeric(9,0)mileage_out INTEGERactual_rate numeric(6,2)primary key(vin)foreign key(vin)

closed_rentalvin VARCHAR(20)ssn numeric(9,0)last_name VARCHAR(20)first_name VARCHAR(20)pick_up_period_id INTEGERpick_up_period_start DATEpick_up_period_end DATEpick_up_site_id INTEGERpick_up_site_name VARCHAR(20)license_number VARCHAR(20)drop_off_period_id INTEGERdrop_off_period_start DATEdrop_off_period_end DATEdrop_off_site_id INTEGERdrop_off_site_name VARCHAR(20)act_drop_off_period_id INTEGERact_drop_off_period_start DATEact_drop_off_period_end DATEact_drop_off_site_id INTEGERact_drop_off_site_name VARCHAR(20)driver_ssn numeric(9,0)mileage_out INTEGERmileage_in INTEGERactual_rate numeric(6,2)payment numeric(6,2)credit_card VARCHAR(20)primary key

inventorysite_id INTEGERcar_type_id INTEGERperiod_id INTEGERquantity INTEGERprimary key(site_id

log_movecar_type_id INTEGERpick_up_period_id INTEGERpick_up_site_id INTEGERdrop_off_period_id INTEGERdrop_off_site_id INTEGERquantity INTEGERcomments VARCHAR(100)primary key(car_type_id

owned_car (*)*

leased_car (*)*

inservice_car (*)*

outofservice_car (*)*

current_inventory (*)CAR.site_idMODEL.car_type_idcount(CAR.vin) AS Current_Inventory

agreement (*)RESERVATION.ssnRESERVATION.pick_up_period_idRESERVATION.pick_up_site_idRESERVATION.drop_off_period_idRESERVATION.drop_off_site_id

allocation (*)site_idperiod_idsum(quantity) as amount

allocation_plus (*)inv.car_type_idinv.site_idinv.period_idres.ssnres.quantityres.pick_up_period_idres.pick_up_site_id

allocation_minus (*)inv.car_type_idinv.site_idinv.period_idres.ssnres.quantityres.drop_off_period_idres.drop_off_site_id

Physical Data Model

Project :

Model : University Car Rental

Author : E Development Version 12/5/99

The Physical Data Model for University Car Rental

Page 6: Unversity Car Rental Final Project of the E-Development Team: Donna, Brian, Mike, Art, & Stephen

Initial Login screen

Authenticated users have been added to a new table in the database.

Page 7: Unversity Car Rental Final Project of the E-Development Team: Donna, Brian, Mike, Art, & Stephen

Main Menu Screen

Page 8: Unversity Car Rental Final Project of the E-Development Team: Donna, Brian, Mike, Art, & Stephen

Reservations Screen

Page 9: Unversity Car Rental Final Project of the E-Development Team: Donna, Brian, Mike, Art, & Stephen

Rental Screen

Page 10: Unversity Car Rental Final Project of the E-Development Team: Donna, Brian, Mike, Art, & Stephen

Add Rental is a pop-up screen

Page 11: Unversity Car Rental Final Project of the E-Development Team: Donna, Brian, Mike, Art, & Stephen

Admin Screen (add customer)

Page 12: Unversity Car Rental Final Project of the E-Development Team: Donna, Brian, Mike, Art, & Stephen

Rental Return Screen

Page 13: Unversity Car Rental Final Project of the E-Development Team: Donna, Brian, Mike, Art, & Stephen

Inventory Screen

Page 14: Unversity Car Rental Final Project of the E-Development Team: Donna, Brian, Mike, Art, & Stephen

Delivered on time and nearly bug free!

We had a lot of fun, learned a lot and had the winning team application in the intra-team competition!