You are on page 1of 4

Metro smart card Management

Submitted in partial fulfillment of the requirements for the award of the degree of

Bachelor of Business Administration To Guru Gobind Singh Indraprastha University, Delhi

Guide: (Mr. Prashant Gupta)

Submitted by:

Institute of Information Technology & Management, New Delhi 1100 58

Batch (2009-2012)

Chapter 2 DATA MODELING

Entity-Categories Description: To store details of the categories of the products available . Field Category Type 1 Type2 Type 3 Type Char (80) Char (80) Char (80) Char (80) Constraints Primary Key Not Null Not Null Not Null

Entity: Items Description: To store detail of the items available Field Items_id Item_name Category Type Price Qty Description Type Char (30) Char (30) Char (30) Char (30) Char (30) Char (30) Char (30) Constraints Primary Key Not Null Not Null Not Null Not Null Not Null Not Null

Entity: Members Description: To store details of the members. Field Type Member_id Char (30) Members_name Char (30) Address Char (30) City Char (30) State Char (30) Phone Char (30) Email Char (30) Purchase Date Date Total Amount Number Amount_Paid Number

Constraints Primary Key Not Null Not Null Not Null Not Null Not Null Not Null Not Null Not Null Not Null

Entity: Admin Description: To store the login details of the administrator of this website, who can add all the details and can generate reports. Field Username Password Type Char (30) Char (30) Constraints Primary Key Not Null

Entity: Purchase details Description: To store details of the purchasing done by the members Field Members_id Name Address Date Item_id Item_name Qty Price Amount_paid Feedback Field Name Phone Email comment Type Char (30) Char(30) Char(30) Date Char (30) Char(30) Number Number Number Constraints Primary Key Not Null Not Null Not Null Not Null Not Null Not Null Not Null Not Null

Type Char (30) Number Char (30) Char (150)

Constraints Primary Key Not Null Not Null Not Null

You might also like