Entities - Indian Institute of Technology Roparcse.iitrpr.ac.in/ckn/courses/s2015/group2-2.pdf ·...

35
Entities x User: Contains login credentials and details of the user. It has two disjoint specializations namely Customer and Service Provider. x Service: Enlists all types of services in the system e.g. food, catering, DJ etc. x Attribute: Entity set corresponding to the attribute which various services can have. e.g. Cost, capacity etc. x Suite: Entity set which refers to the level of service available eg. Gold, Silver, Platinumetc. x Booking: Entity set denoting the bookings made by customers Relations x Booked: Binary relation which relates customers to the booking made by them. x Package: Ternary relation which tells which service provider is providing what service of which suite. E.g. (Aman DJ, DJ, Platinum) is a package. x Multiplicity: Binary relation between service provider and service. It tells how many instances of a particular service a service provider can handle at an instant simultaneously. Eg. Aman DJcan handle only 1 event at a time while Sunil Catererscan handle upto 5 events at a time. x Generic Schedule: Tells the generic weekly schedule of a service provider for a particular service. x Valid_Matching: Tells the valid pairings between attributes and services. For e.g. Capacity will be valid attribute for a banquet hall but not a valid attribute for lighting service x Package_Attribute: Relates a Package with the attributes. E.g Cost of the package x Avails: Tells which package is availed by a particular booking. x Booking Schedule: Tells for how much time a particular service by a service provider is booked. Constraints x A customer can make any number of bookings. x A service provider can provide many services. x Each seller uploads is generic weekly schedule for e.g. He doesnt work on Sundays. If not seller is assumed to be free at all time. x Package_Attribute can only relate valid attributes with package. Validity is known by relation Valid_Matching. x Number of instances of a particular service by a service provider must not exceed its multiplicity.

Transcript of Entities - Indian Institute of Technology Roparcse.iitrpr.ac.in/ckn/courses/s2015/group2-2.pdf ·...

Page 1: Entities - Indian Institute of Technology Roparcse.iitrpr.ac.in/ckn/courses/s2015/group2-2.pdf · Entities x User: Contains login credentials and details of the user.It has two disjoint

Entities x User: Contains login credentials and details of the user. It has two disjoint specializations namely

Customer and Service Provider. x Service: Enlists all types of services in the system e.g. food, catering, DJ etc. x Attribute: Entity set corresponding to the attribute which various services can have. e.g. Cost,

capacity etc. x Suite: Entity set which refers to the level of service available eg. “Gold”, “Silver”, “Platinum” etc. x Booking: Entity set denoting the bookings made by customers

Relations x Booked: Binary relation which relates customers to the booking made by them. x Package: Ternary relation which tells which service provider is providing what service of which

suite. E.g. (“Aman DJ”, “DJ”, “Platinum”) is a package. x Multiplicity: Binary relation between service provider and service. It tells how many instances of

a particular service a service provider can handle at an instant simultaneously. Eg. “Aman DJ” can handle only 1 event at a time while “Sunil Caterers” can handle upto 5 events at a time.

x Generic Schedule: Tells the generic weekly schedule of a service provider for a particular service.

x Valid_Matching: Tells the valid pairings between attributes and services. For e.g. Capacity will be valid attribute for a banquet hall but not a valid attribute for lighting service

x Package_Attribute: Relates a Package with the attributes. E.g Cost of the package

x Avails: Tells which package is availed by a particular booking. x Booking Schedule: Tells for how much time a particular service by a service provider is booked.

Constraints x A customer can make any number of bookings. x A service provider can provide many services. x Each seller uploads is generic weekly schedule for e.g. He doesn’t work on Sundays. If not seller

is assumed to be free at all time. x Package_Attribute can only relate valid attributes with package. Validity is known by relation

Valid_Matching. x Number of instances of a particular service by a service provider must not exceed its multiplicity.

Page 2: Entities - Indian Institute of Technology Roparcse.iitrpr.ac.in/ckn/courses/s2015/group2-2.pdf · Entities x User: Contains login credentials and details of the user.It has two disjoint

Customer

NameFirst NameMiddle NameLast Name

AddressHouse NoStreet NoColonyCityStatePincode

Phone No

Service Provider

Company NameAddress

House NoStreet NoColonyCityStatePincode

Phone NoIs VerifiedPAN{Region}

User

User IDPassword

total

Service

Service IDName

Multiplicity

Value

Suite

Suite IDName

Package

Booked

Valid_Matching

Attribute

Attribute IDName

InstructionRatingReviewCancellation StatusRefund Amount

Booking

Booking IDBooking NameCostIs Paid

Generic Schedule

DayStart TimeEnd Time

Avails

DateStart TimeEnd Time

Booking_Schedule

0…*

0…*

0…*

1…*

1…*0…*

0…*

0…*

Package_Attribute

1…*

1…*

Value

Page 3: Entities - Indian Institute of Technology Roparcse.iitrpr.ac.in/ckn/courses/s2015/group2-2.pdf · Entities x User: Contains login credentials and details of the user.It has two disjoint

Event Management System (User Interface)

Page 4: Entities - Indian Institute of Technology Roparcse.iitrpr.ac.in/ckn/courses/s2015/group2-2.pdf · Entities x User: Contains login credentials and details of the user.It has two disjoint

eventmanagement.com login Sign-up Cart(0)

Region : Delhi

Mumbai

Chennai

Chandigarh

Date : Money Range :

Time of the day:

Band

Catering

Catering

Decorating

Bar

DJ

Lighting

Service :

home_page

Page 5: Entities - Indian Institute of Technology Roparcse.iitrpr.ac.in/ckn/courses/s2015/group2-2.pdf · Entities x User: Contains login credentials and details of the user.It has two disjoint

eventmanagement.com login Sign-up Cart(0)

Region : Delhi

Mumbai

Chennai

Chandigarh

Date : Money Range :

Time of the day:

Band

Food

Catering

Decorating

Bar

DJ

Lighting

Service :

For Service Catering :

Number of Person :

Search

catering_search

Page 6: Entities - Indian Institute of Technology Roparcse.iitrpr.ac.in/ckn/courses/s2015/group2-2.pdf · Entities x User: Contains login credentials and details of the user.It has two disjoint

eventmanagement.com login Sign-up Cart(0)

Region : Delhi

Mumbai

Chennai

Chandigarh

Date : Money Range :

Time of the day:

Band

Food

Catering

Decorating

Bar

DJ

Lighting

Service :

For Service Food :

Veg/NonVeg:

Search

Continental

Punjabi

Chinese

Itslian

Food Type : Vegeterian

Chennai

food_search

Page 7: Entities - Indian Institute of Technology Roparcse.iitrpr.ac.in/ckn/courses/s2015/group2-2.pdf · Entities x User: Contains login credentials and details of the user.It has two disjoint

eventmanagement.com login Sign-up Cart(0)

Region : Delhi

Mumbai

Chennai

Chandigarh

Date : Money Range :

Time of the day:

Band

Food

Catering

Decorating

Bar

DJ

Lighting

Service :

For Service Band :

Number of Person :

Search

band_search

Page 8: Entities - Indian Institute of Technology Roparcse.iitrpr.ac.in/ckn/courses/s2015/group2-2.pdf · Entities x User: Contains login credentials and details of the user.It has two disjoint

eventmanagement.com login Sign-up Cart(0)

Region : Delhi

Mumbai

Chennai

Chandigarh

Date : Money Range :

Time of the day:

Band

Food

Catering

Decorating

Bar

DJ

Lighting

Service :

For Service Decorating :

Area:

Search

decorating_search

Page 9: Entities - Indian Institute of Technology Roparcse.iitrpr.ac.in/ckn/courses/s2015/group2-2.pdf · Entities x User: Contains login credentials and details of the user.It has two disjoint

eventmanagement.com login Sign-up Cart(0)

Region : Delhi

Mumbai

Chennai

Chandigarh

Date : Money Range :

Time of the day:

Band

Food

Catering

Decorating

Bar

DJ

Lighting

Service :

For Service Bar :

Search

bar_search

Page 10: Entities - Indian Institute of Technology Roparcse.iitrpr.ac.in/ckn/courses/s2015/group2-2.pdf · Entities x User: Contains login credentials and details of the user.It has two disjoint

eventmanagement.com login Sign-up Cart(0)

Region : Delhi

Mumbai

Chennai

Chandigarh

Date : Money Range :

Time of the day:

Band

Food

Catering

Decorating

Bar

DJ

Lighting

Service :

For Service DJ :

Search

dj_search

Page 11: Entities - Indian Institute of Technology Roparcse.iitrpr.ac.in/ckn/courses/s2015/group2-2.pdf · Entities x User: Contains login credentials and details of the user.It has two disjoint

eventmanagement.com login Sign-up Cart(0)

Region : Delhi

Mumbai

Chennai

Chandigarh

Date : Money Range :

Time of the day:

Band

Food

Catering

Decorating

Bar

DJ

Lighting

Service :

For Service Lighting :

Search

lighting_search

Page 12: Entities - Indian Institute of Technology Roparcse.iitrpr.ac.in/ckn/courses/s2015/group2-2.pdf · Entities x User: Contains login credentials and details of the user.It has two disjoint

eventmanagement.com login Sign-up Cart(5)

Region : Delhi

Mumbai

Chennai

Chandigarh

Date : Money Range :

Time of the day:

Band

Food

Catering

Decorating

Bar

DJ

Lighting

Service :

For Service Lighting :

Search

Prakhar Caterers , Suit: Premium Remove

Gambhir DJ , Suit : Economy Remove

Paramvir Decorators,Suit : Economy

Remove

Honey Banquet Hall, Suit:Normal Remove

Naresh Food Services,Veg,Continental

Remove

Checkout Clear All

cart_shown

Page 13: Entities - Indian Institute of Technology Roparcse.iitrpr.ac.in/ckn/courses/s2015/group2-2.pdf · Entities x User: Contains login credentials and details of the user.It has two disjoint

eventmanagement.com login Sign-up Cart(5)

Give Event Name: Gambhir wedding

Select Bank for Payment : State Bank of India

Axis Bank

HDFC Bank

ICICI Bank

Pay

confirm_booking

Page 14: Entities - Indian Institute of Technology Roparcse.iitrpr.ac.in/ckn/courses/s2015/group2-2.pdf · Entities x User: Contains login credentials and details of the user.It has two disjoint

Username:

Password :

gambhir

***********

LOGIN SIGN UP (CUSTOMER)

SIGN UP (SERVICE PROVIDER)

eventmanagement.com

signup_login

Page 15: Entities - Indian Institute of Technology Roparcse.iitrpr.ac.in/ckn/courses/s2015/group2-2.pdf · Entities x User: Contains login credentials and details of the user.It has two disjoint

eventmanagement.com Username:

Password :

gambhir

***********

Confirm Password : ***********

First Name:

Last Name :

Abhishek

Gambhir

Middle Number : *****

House no.:

Street No. :

5

14

Colony : Dhobhi Ghat

City:

State :

Jila Ghaziabad

U.P.

Pincode : 140001

Mobile: 989898989898

REGISTER

customer_signup

Page 16: Entities - Indian Institute of Technology Roparcse.iitrpr.ac.in/ckn/courses/s2015/group2-2.pdf · Entities x User: Contains login credentials and details of the user.It has two disjoint

eventmanagement.com Administrator Complains Statistics

Customer Username Service Provider Complain

gambhie Gambhir DJ , Suit : Economy Very bad DJ , very bad choice of song,arrogant fellow

ghjd134 Paramvir Decorators,Suit : Economy Crazy guy

dgfg458 Honey Banquet Hall, Suit:Normal Unhygenic place

fbgfgd45 Naresh Food Services,Veg,Continental Fails to communicate

qergi12 Prakhar Food Services,Veg,Continental Not good at all

Pending Approvals

admin_complains

Page 17: Entities - Indian Institute of Technology Roparcse.iitrpr.ac.in/ckn/courses/s2015/group2-2.pdf · Entities x User: Contains login credentials and details of the user.It has two disjoint

eventmanagement.com Administrator Complains Statistics

Username Service Provider Action

gambhie Gambhir DJ Accept Reject

ghjd134 Paramvir Decorators Accept Reject

dgfg458 Honey Banquet Hall Accept Reject

fbgfgd45 Naresh Food Services Accept Reject

qergi12 Prakhar Food Services Accept Reject

Pending Approvals

admin_approvals

Page 18: Entities - Indian Institute of Technology Roparcse.iitrpr.ac.in/ckn/courses/s2015/group2-2.pdf · Entities x User: Contains login credentials and details of the user.It has two disjoint

eventmanagement.com Administrator

Time Range : hh:mm:ss hh:mm:ss to

Date Range : dd/mm/yyyy dd/mm/yyyy to

Find Traffic

Complains Statistics Pending Approvals

admin_statistics

Page 19: Entities - Indian Institute of Technology Roparcse.iitrpr.ac.in/ckn/courses/s2015/group2-2.pdf · Entities x User: Contains login credentials and details of the user.It has two disjoint

eventmanagement.com Administrator

Time Range : hh:mm:ss hh:mm:ss to

Date Range : dd/mm/yyyy dd/mm/yyyy to

Find Traffic

Complains Statistics Pending Approvals

admin_statistics_shown

Page 20: Entities - Indian Institute of Technology Roparcse.iitrpr.ac.in/ckn/courses/s2015/group2-2.pdf · Entities x User: Contains login credentials and details of the user.It has two disjoint

Search Results for Service: ( Number of Results)

1) Prakhar Service Providers Price Region of Service

Sort By: Price (Low to High),(High to Low) //// Rating

2) Qamimroz Service Providers Price Region of Service

3) Jha Service Providers Price Region of Service

Page 1 of 20

. . . . . . .

Search for a different Service

login Sign-up Cart(0)

search_result

Page 21: Entities - Indian Institute of Technology Roparcse.iitrpr.ac.in/ckn/courses/s2015/group2-2.pdf · Entities x User: Contains login credentials and details of the user.It has two disjoint

Seller Sign-Up

Company Name: Phone Number: House No: Street No: City: State: Pincode: Region : of Service

Prakhar Service Providers

989898989898

5 6

Ghaziabad

Delhi

Mumbai

Bengaluru

Chennai

Add another region

Colony: Jamunapar

Uttar Pradesh 201001

Add Services

seller_registeration

Page 22: Entities - Indian Institute of Technology Roparcse.iitrpr.ac.in/ckn/courses/s2015/group2-2.pdf · Entities x User: Contains login credentials and details of the user.It has two disjoint

Add Services

Banquet Hall Suite Name: Suite Cost: Suite Description : Capacity : Add Another Suite Catering Suite Name: Suite Cost: Suite Description : Add Another Suite Decorator DJ . . . .

Basic 10,000

Description of Suite

Description of Suite

Submit for Verification

seller_registeration_add_services

200

Page 23: Entities - Indian Institute of Technology Roparcse.iitrpr.ac.in/ckn/courses/s2015/group2-2.pdf · Entities x User: Contains login credentials and details of the user.It has two disjoint

Seller Profile

Company Name: Phone Number: House No: Street No: City: State: Pincode: Region : of Service Services Edit Services

Prakhar Service Providers

989898989898

5 6

Ghaziabad

Delhi

Mumbai

Bengaluru

Chennai

Add another region

Colony: Jamunapar

Uttar Pradesh 201001

seller_profile

Banquet Hall Food Caterer Decorator

Page 24: Entities - Indian Institute of Technology Roparcse.iitrpr.ac.in/ckn/courses/s2015/group2-2.pdf · Entities x User: Contains login credentials and details of the user.It has two disjoint

Add/Edit Services

Banquet Hall Suite Name: Suite Cost: Suite Description : Capacity : Add Another Suite Catering Suite Name: Suite Cost: Suite Description : Add Another Suite Decorator DJ . . . .

Basic 10,000

Description of Suite

Description of Suite

Submit for Verification

seller_profile_edit

200

Page 25: Entities - Indian Institute of Technology Roparcse.iitrpr.ac.in/ckn/courses/s2015/group2-2.pdf · Entities x User: Contains login credentials and details of the user.It has two disjoint

Name : Prateek Decorator Services Address : B-404 Mercury Hostel Suite Name Price Seller

Specific Description Add to Cart

Basic 20,000

Deluxe 30,000

Premium 40,000

Rating: Comments

login Sign-up Cart(0)

Users: Comments

Prakhar Good Food

Gambhir Can do Better

Prateek

Add Comment

Rate

seller_page

Page 26: Entities - Indian Institute of Technology Roparcse.iitrpr.ac.in/ckn/courses/s2015/group2-2.pdf · Entities x User: Contains login credentials and details of the user.It has two disjoint

Name : Prateek Decorator Services Address : B-404 Mercury Hostel Suite Name Price Cuisines Description Add to Cart

Basic 20,000

Deluxe 30,000

Premium 40,000

Rating: Comments

login Sign-up Cart(0)

Users: Comments

Prakhar Good Food

Gambhir Can do Better

Prateek

Add Comment

Rate

seller_food

Page 27: Entities - Indian Institute of Technology Roparcse.iitrpr.ac.in/ckn/courses/s2015/group2-2.pdf · Entities x User: Contains login credentials and details of the user.It has two disjoint

Name : Prateek Decorator Services Address : B-404 Mercury Hostel Suite Name Price Area Description Add to Cart

Basic 20,000

Deluxe 30,000

Premium 40,000

Rating: Comments

login Sign-up Cart(0)

Users: Comments

Prakhar Good Food

Gambhir Can do Better

Prateek

Add Comment

Rate

decorator

Page 28: Entities - Indian Institute of Technology Roparcse.iitrpr.ac.in/ckn/courses/s2015/group2-2.pdf · Entities x User: Contains login credentials and details of the user.It has two disjoint

Name : Prateek Decorator Services Address : B-404 Mercury Hostel Suite Name Price Persons Description Add to Cart

Basic 20,000

Deluxe 30,000

Premium 40,000

Rating: Comments

login Sign-up Cart(0)

Users: Comments

Prakhar Good Food

Gambhir Can do Better

Prateek

Add Comment

Rate

seller_caterer

Page 29: Entities - Indian Institute of Technology Roparcse.iitrpr.ac.in/ckn/courses/s2015/group2-2.pdf · Entities x User: Contains login credentials and details of the user.It has two disjoint

Name : Prateek Decorator Services Address : B-404 Mercury Hostel Suite Name Price Persons Description Add to Cart

Basic 20,000

Deluxe 30,000

Premium 40,000

Rating: Comments

login Sign-up Cart(0)

Users: Comments

Prakhar Good Food

Gambhir Can do Better

Prateek

Add Comment

Rate

seller_band

Page 30: Entities - Indian Institute of Technology Roparcse.iitrpr.ac.in/ckn/courses/s2015/group2-2.pdf · Entities x User: Contains login credentials and details of the user.It has two disjoint

Name : Prateek Decorator Services Address : B-404 Mercury Hostel Suite Name Price Area Description Add to Cart

Basic 20,000

Deluxe 30,000

Premium 40,000

Rating: Comments

login Sign-up Cart(0)

Users: Comments

Prakhar Good Food

Gambhir Can do Better

Prateek

Add Comment

Rate

seller_banquet_hall

Page 31: Entities - Indian Institute of Technology Roparcse.iitrpr.ac.in/ckn/courses/s2015/group2-2.pdf · Entities x User: Contains login credentials and details of the user.It has two disjoint

Name : Prateek Singh Address : B-404 Mercury Hostel Phone : +91 9898989898 Email : [email protected] Bookings : Last Orders :

login Sign-up Cart(0)

Booking Name

Gambhir Weds Shivanshi

Guddu’s Ring Ceremony

customer_page

Page 32: Entities - Indian Institute of Technology Roparcse.iitrpr.ac.in/ckn/courses/s2015/group2-2.pdf · Entities x User: Contains login credentials and details of the user.It has two disjoint

Name : Prateek Singh Address : B-404 Mercury Hostel Phone : +91 9898989898 Email : [email protected] Bookings : Last Orders :

login Sign-up Cart(0)

Booking Name

Gambhir Weds Shivanshi

Guddu’s Ring Ceremony

Prakhar Food Services Prateek Caterer Imroj Decorator Paramveer Band Honey Banquet Hall

customer_bookings

Page 33: Entities - Indian Institute of Technology Roparcse.iitrpr.ac.in/ckn/courses/s2015/group2-2.pdf · Entities x User: Contains login credentials and details of the user.It has two disjoint

Name : Prateek Singh Address : B-404 Mercury Hostel Phone : +91 9898989898 Email : [email protected] Bookings : Last Orders :

login Sign-up Cart(0)

Booking Name

Gambhir Weds Shivanshi

Guddu’s Ring Ceremony

Gambhir’s Ring Ceremony • Prakhar Food Services • Parmeet Caterer

customer_last_orders

Page 34: Entities - Indian Institute of Technology Roparcse.iitrpr.ac.in/ckn/courses/s2015/group2-2.pdf · Entities x User: Contains login credentials and details of the user.It has two disjoint

Name : Prateek Decorator Services Address : B-404 Mercury Hostel Suite Name Price Seller

Specific Description Add to Cart

Basic 20,000

Deluxe 30,000

Premium 40,000

Rating: Comments

login Sign-up Cart(0)

Users: Comments

Prakhar Good Food

Gambhir Can do Better

Prateek

Add Comment

Rate

Delete

seller_page_admin_view

Page 35: Entities - Indian Institute of Technology Roparcse.iitrpr.ac.in/ckn/courses/s2015/group2-2.pdf · Entities x User: Contains login credentials and details of the user.It has two disjoint

The words with format a_b denotes page tag of the views in the file Views.pdf.Other words denote the action being performed.

��� ���

����������

�������������

����������� ������������� ��

��� �� ����

� �� ��������

�����

���� ������ ��

������ ����

�����

���� ������

��� ����

���������

��� ����

��������������

��� � ���

��� ���

���������� ���

���� �������

���������������

�������

� ����� ����

��� �

� �� ����

����

���� ���

����� ������

��� �� �

���

� �� ��� ���������

������� �

� �� ��� �������������� ����

��

������ ��������