Preview

Entity Relationship Diagram

Good Essays
Open Document
Open Document
1214 Words
Grammar
Grammar
Plagiarism
Plagiarism
Writing
Writing
Score
Score
Entity Relationship Diagram
Entity Relationship Diagram
The bellow diagram is what is refered to as an "Entity Relationship Diagram". Its purpose is to show the relationship between different data in the hotel management program , and the actions that are performed on it. And how data from different objects relate to each other.
Legend
The Data Entities represent data that will need to be stored on the system, in general terms.
The Relationships represent actions that will occur to the Data Entities, or Weak Entities.
The Weak Entities represent data that does not exist, except in relation to a Data Entity.

Data Dictionary
Below is a data dictionary used to demostrate how data will be represented in the computer system, and how different modules are inter related.

Access Level = (Front Desk) + (Kitchen) + (Management)
* An access level which denotes exactly which areas, a user has access to.*
Amount Paid= $ + INT + '. ' + [00 | 01 | .. | 99]
The amount the customer has actually paid.
Arrival Date = Date
* Represents the date the cutomers arrived.*
Balance $ + INT + '. ' + [00 | 01 | .. | 99]
The amount remaining for the customer to pay.
Bill to = Room Number
* A valid room number in the hotel to bill a some to.*
Bus. Phone = Phone Number
* Represents the bussiness phone number of the customer.*
Calendar Day = Date + {Room}
* Represnts all of the days on the calendar, along with which rooms are booked for that day.*
Category = [Single | Double | Triple]
* A category represents the size of a room.*
City = STRING(64)
* Represents the name of a city.*
Country = STRING(64)
* Represents the name of a country.*
Cost of Phone Call= $ + INT + '. ' + [00 | 01 | .. | 99]
* The cost of an outgoing phone call.*
Credit Card Number [0000 0000 0000 0000 | 0000 0000 0000 0001 | .... .... .... .... | 9999 9999 9999 9999]
* Represents a credit card number.*
Customer Info = Guest Name + Room Number + Arrival Date + Departure Date + Representing + Mailing Address + Bus.

You May Also Find These Documents Helpful

  • Satisfactory Essays

    PT2520 Unit7Labs Tramil

    • 330 Words
    • 1 Page

    5. What are entities? An entity is something that the database is concerned with, about which data can be stored, and which can have relationships with other entities.…

    • 330 Words
    • 1 Page
    Satisfactory Essays
  • Powerful Essays

    Nt1330 Unit 5 Assignment

    • 2359 Words
    • 10 Pages

    | Hotel_rooms |Header node for hotel rooms | | room |Header node for individual room | | ref |Room ID | | type |Room type ID | | sleeps |Number of people the room sleeps | | breakfast |Is breakfast included in price | | description |Room Description | | Alternate_description |Alternate description of room | | Rack_rate |Default price of room…

    • 2359 Words
    • 10 Pages
    Powerful Essays
  • Satisfactory Essays

    Pt1420 Unit 7 Study Guide

    • 582 Words
    • 3 Pages

    2.Write a program to (a) display a “?” (b) read two decimal digits whose sum less than 10 (c) display them and their sum on the next line. Page: 80…

    • 582 Words
    • 3 Pages
    Satisfactory Essays
  • Satisfactory Essays

    Environmental Science 1401

    • 1146 Words
    • 5 Pages

    87.045 = [d] x 101 + [e] x 100 + [f] x 10-1 + [g] x 10[h] + 5 x 10[i]…

    • 1146 Words
    • 5 Pages
    Satisfactory Essays
  • Satisfactory Essays

    unit 3

    • 313 Words
    • 2 Pages

    10. Write a pseudocode statement that multiplies the variable subtotal by 0.15 and assigns the result to the variable total fee.…

    • 313 Words
    • 2 Pages
    Satisfactory Essays
  • Powerful Essays

    IST223 Crib sheet

    • 3425 Words
    • 7 Pages

    rectangles, and relationships are shown by lines between the rectangles. Attributes are generally listed within the rectangle. The many side of many relationships is represented by a crows footentity-relationship (E-R) modelA set of constructs and conventions used to create data models. The things in the users world are represented by entities, and the associations among those things are represented by relationships. The results are usually documented in an entity-relationship (E-R) diagramID-dependent entityan entity whose identifier includes the identifier of another entityidentifierwhich are attributes that name, or identify, entity instancesidentifying relationshipIn such relationships, the parent is always required, but the child (the ID-dependent entity) may or may not be required, depending on application requirements. Identifying relationships are shown with solid lines in E-R diagrams.is-aRelationships among supertype/subtype entitiesmandatoryat least one entity instance must participate in the relationshipmaximum cardinalityThe maximum cardinality is the maximum number of entity instances that can participate in a relationship instance.minimum cardinalityThe minimum cardinality is the minimum number of entity instances that must participate in a relationship instance.nonidentifying relationshiprelationship drawn with a dashed line (refer to Figure 5-7) is used between strong entities and is called a nonidentifying relationship because there are no ID-dependent entities in the relationship.null valueare a problem because they are ambiguous. They can mean that a value is inappropriate, unknown, or known, but not yet been entered into the databaseparentAn entity or row on the one side of a one-to-many relationshiprecursive relationshipoccurs when an entity type has a relationship to itself.relationship classAssociations among entity classesrelationship instanceassociations among entity instances.strong entityan entity that represents something that can exist…

    • 3425 Words
    • 7 Pages
    Powerful Essays
  • Good Essays

    Entities are defined as a person, place, thing, or event in which data is collected and stored. Each entity is a unique and distinct object that may be a physical or abstract object within the real world (Coronel, Morris, & Rob, pg. 34). Entities of a database for a college that needs to keep track of students and courses would be students, professors, courses, classes, room, and enrollment status. These entities will be used to format the data within the database so that each student and course is accounted for. Attributes are characteristics of an entity, such as a name, phone number, or address (Coronel, Morris, & Rob, pg. 34). Attributes for the college database would include student first and last name, student phone number, student address, student identification number, student grade point average, student course major, and student classes to describe the student entity. The professor entity would be described by professor…

    • 906 Words
    • 3 Pages
    Good Essays
  • Good Essays

    oh you know

    • 907 Words
    • 4 Pages

    Data: the information system may contain millions of bytes of data. They are about products, customers, orders, shipments, and other relevant things.…

    • 907 Words
    • 4 Pages
    Good Essays
  • Good Essays

    Data elements are the basic unit of information that have a unique importance and subcategories that must be standardized and carried throughout the practices (Aspenden, et al., 2004). Specific codes should be recognized in all terminology sets to represent the data elements to ensure data comparability, which will allow all information systems to hold the data as a combined enterprise (Aspeden, et al.,…

    • 558 Words
    • 3 Pages
    Good Essays
  • Better Essays

    Our project is to create an Entity - Relationship Diagrams for the Fleet Truck Maintenance database. This will allow hub managers and maintenance supervisors the ability to automatically generate uniformed reports using near real time data to assist in compiling with regulatory requirements or decision planning for a fleet of over 800 trailers and 2100 trailers.…

    • 1925 Words
    • 8 Pages
    Better Essays
  • Satisfactory Essays

    wrk of database

    • 416 Words
    • 2 Pages

    {G.guestNo, G.guestName, G.guestAddress, B.hotelNo, B.dateFrom, B.dateTo, B.roomNo | Guest(G)  (B) (Booking(B) /\ (G.guestNo = B.guestNo)/\(B.dateTo > ‘1-June-12’))}…

    • 416 Words
    • 2 Pages
    Satisfactory Essays
  • Good Essays

    Crime Analysis

    • 939 Words
    • 4 Pages

    In addition, the manner in which data are stored and the amount of data stored…

    • 939 Words
    • 4 Pages
    Good Essays
  • Satisfactory Essays

    Cipd Assignment 1 Dep

    • 812 Words
    • 4 Pages

    • Maintaining L&D data in a system. In order to maintain and design all data in usefully.…

    • 812 Words
    • 4 Pages
    Satisfactory Essays
  • Good Essays

    Electric Billing System

    • 435 Words
    • 2 Pages

    The data required to compute the use charge are listed. We separate the involved data categories into Input, Process and Output.…

    • 435 Words
    • 2 Pages
    Good Essays
  • Satisfactory Essays

    ▪ Data can be easily stored, accessed, edited, backed up, shared and processed quickly and efficiently.…

    • 306 Words
    • 2 Pages
    Satisfactory Essays

Related Topics