Skip to content

Instantly share code, notes, and snippets.

@anonoz
Last active May 1, 2017 08:15
Show Gist options
  • Save anonoz/edf04f28714aebce2587 to your computer and use it in GitHub Desktop.
Save anonoz/edf04f28714aebce2587 to your computer and use it in GitHub Desktop.
TIS1101 Project

Hotel booking systems

Entities:

  • Hotels
  • Rooms
  • Additional Services
  • Customers
  • Bookings
  • Guests

Rules:

  • A hotel has many rooms
  • A hotel has many additional services
  • A customer can have one or more bookings
  • A booking can only have one room but zero or many additional services
  • A customer has zero or many reviews
  • A hotel has zero or many reviews
@bingyuanng
Copy link

Entities : reviews

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment