Skip to content

RELATIONSHIPS

Sanket Saurav edited this page Dec 12, 2018 · 18 revisions

USER TO USER

  • Guest users can rate their host for an event which he/she hosted.
  • Host have a rating calculated by averaging the ratings given by multiple users.

USER TO DOMAIN

Guest User creates a booking

Guest user requests a movie

Host creates an event


DOMAIN TO DOMAIN

Add requested movie to event

Create booking for event


ONE TO MANY

One Guest user can request many movies

One Guest user can book tickets for multiple events

One Host user can create multiple events


MANY TO MANY

Event to Movie


SELF REFERENTIAL

A guest user can follow other guest users.

Guest User views all the Guest users

Guest User views all the Guest users that he is following

Guest User follows a new Guest users

Guest User unfollows a User


GENERALIZATION

host, guest

Clone this wiki locally