Академический Документы
Профессиональный Документы
Культура Документы
Ben Roehrig
11/27/16
CIS 275 11:30 am
Table of Contents
MISSION STATEMENT .......................................................................................................................... 3
GLOSSARY .............................................................................................................................................. 18
Project Description
This project is designed to show the end user exactly how the bicycle rental database is
structured and how it can be used to store all data needed for such a business. Included
in this project are also the SQL DDL for creating the tables and screenshots for
illustrating how the data can be managed and modified.
Customer-Reservation
1:N
1
Rental-Submission
N
Location-Assignment
1:N
);
CID FName LName Saddress CCN Exp CVV City State Zip
1 Russell Barton 667 Kincheloe Road 4916103992620853 3/17/2017 398 Salem OR 97301 lakefi
2 Ora Rice 2431 Seneca Drive 4929818828370325 8/1/2017 422 Salem OR 97301 Wifir
3 Steven Guerrero 2754 Godfrey Street 4556027872038636 10/13/2017 252 Salem OR 97302 TheA
4 Bernard Doyle 3202 Seneca Drive 4539343648556872 1/12/2017 687 Salem OR 97302 TheH
5 Rachael Bryant 3431 Mattson Street 4916395833484297 7/8/2017 369 Salem OR 97305 Diref
6 Jesse Carroll 3879 Lawman Avenue 5519629341821733 6/7/2017 689 Salem OR 97301 Exult
7 Edgar Farmer 1876 Lighthouse Drive 5325159092183731 4/13/2017 574 Salem OR 97302 Mund
8 Julian Howell 3146 Fire Access Road 5380517405723133 9/6/2017 845 Salem OR 97301 Next@
9 May Mcdonald 3323 Webster Street 5115104818756687 6/27/2017 231 Salem OR 97305 hkft_
10 Bryant Summers 1794 Braxton Street 5568772795648754 11/25/2017 548 Salem OR 97301 vfa3l
11 Sherman Thornton 329 Sweetwood Drive 5533809861358595 9/28/2017 14 Salem Or 80014 k6je7
12 Robert Robert L H 1380 Fire Access Road 5416507487435555 4/25/2018 289 High Point NC 27260 6vhd
utchins
13 Todd Leonard 2691 Dark Hollow Road 5329113954363515 8/3/2017 963 Camden NJ 8102 a7yjx
14 Emily Barker 3950 O Conner Street 4532802951582541 5/18/2018 875 Biloxi MS 39531 du6b
15 Brittany Fox 2310 George Street 5298593053105502 4/20/2018 630 Ocala FL 34471 9wup
16 Judith Collier 341 Timberbrook Lane 6011759701069416 12/1/2017 674 Wray CO 80758 d-8ow
17 Sylvester Lopez 1000 Edington Drive 4532693874602635 11/26/2016 485 Smyrna GA 30082 98_l_
18 Essie Robinson 4855 Elm Drive 4929942400461953 3/13/2018 115 New York NY 10011 -octz
19 Tammy Higgins 3690 Harper Street 4929262204367698 11/27/2017 679 Pembroke KY 69754 k0-ka
20 Julian Mckinney 1118 College Avenue 5150860020594101 9/13/2017 541 Dayton OH 68742 f6ft@
RENTAL:
Business Rules
RENTAL
Each RENTAL must have a CustomerID from CUSTOMER.
A CustomerID must belong to each RENTAL.
Each RENTAL must have Kiosk Number from KIOSK.
A Kiosk Number must belong to each RENTAL.
Each RENTAL must be assigned an Unlock Code.
An Unlock Code must be assigned to a RENTAL.
Each RENTAL must have a Rental Type.
A Rental Type must belong to a RENTAL.
Each RENTAL must have a Rental Time.
A Rental Time must belong to a RENTAL.
Each RENTAL must have a Return Time.
A Return Time must belong to a RENTAL.
Each RENTAL must assigned a BicycleID from BICYCLE.
A BicycleID must belong to each RENTAL.
A RENTAL may be completed from any KIOSK.
Each RENTAL must consist of a BICYCLE.
A BICYCLE may be a part of one or more RENTALs.
If a Rental Period is less than 24 hours, the CUSTOMER is charged $3.00.
If a Rental Period is 10 days or less the CUSTOMER is charged $15.00.
If a Rental Period is more than 10 days then the CUSTOMER is charged is
$150.00.
Each RENTAL is cancelled if CUSTOMER takes over 10 minutes to use Unlock
Code.
Each RENTAL must take place one KIOSK.
A KIOSK may have one or more RENTALS.
BICYCLE A transportation device with 2 inline wheels that can rented and used by a
customer.
BID or BicycleID - A unique number that identifies each bicycle. Primary key of
BICYCLE entity. Foreign key of RENTAL entity.
CCN or Credit card number The credit card number of customer that registers for
bicycle rental.
CID or CustomerID A number which is the surrogate key assigned to each customer
when a customer registers for bicycle rental. Primary key of CUSTOMER entity and
foreign key of RENTAL entity.
City The city of residence a bicycle rental customer enters upon registration.
Cost A dollar amount representing how much each bicycle is worth.
CUSTOMER A person who pays to rent a bicycle from a kiosk.
CVV or Card Verification Value The 3 digits printed on the back of customers credit
card.
Email The electronic mailing address of customer that registers for bicycle rental.
Exp or Credit Card Expiration The expiration date printed on customers credit card.
FName or First Name This represents the first name of customer.
GPS or GPS Number A number that represents GPS signal of each bicycle.
Kaddress or Kiosk Address The physical street address of each kiosk.
KIOSK A computer station where customers can rent a bicycle, pay for the rental, and
pick up the bicycle.
KN or Kiosk Number A unique number that identifies each kiosk. Primary key of
KIOSK entity and foreign key of RENTAL and BICYCLE entities.
LName or Last Name This represents the last name of customer.
Make The brand of each bicycle.
Model The version or model of each bicycle.
OpStatus or Operational Status The indicator of whether a bicycle is intact and
operational or if it is broken and out for repairs.