“Pleasure in the job puts perfection in the work” Aristotle The team: Adriana Velicu Alexandru Diaconu Gabriel Musteata Project manager: Emanuela Cerchez.

Slides:



Advertisements
Similar presentations
The Relational Model and Normalization (1)
Advertisements

Welcome to IDBS Center Innovative Data Base Solutions presents: Comat Auto Service Project Project Manager: Emanuela Cerchez.
Exercise 1 Consider the ER diagram below. Assume that an employee may work in up to two departments or may not be assigned to any department. Assume that.
Database Design Lessons 2 & 3 Database Models, Entities, Relationships.
Stock Market Game Mrs. Heinze.
Use a Free Text item to only order items not available from a Supplier Catalog. The Product Category is important because it determines the G/L Account,
Types of Data This module was developed by Business Process Improvement. For more modules, please contact us at or visit our website
Draw an ER Diagram for the following (record any assumptions):
Information System Engineering
Calendar Browser is a groupware used for booking all kinds of resources within an organization. Calendar Browser is installed on a file server and in a.
Let’s try Oracle. Accessing Oracle The Oracle system, like the SQL Server system, is client / server. For SQL Server, –the client is the Query Analyser.
Entity Relationship Diagrams
Database Design Concepts INFO1408 Term 2 week 1 Data validation and Referential integrity.
8/28/97Information Organization and Retrieval Files and Databases University of California, Berkeley School of Information Management and Systems SIMS.
Journalizing INVENTORY-Related Transactions Slideshow 8 B.
Spa Manager & Salon Manager The Complete Solution for Business Management.
EProcurement Job Aid Requisitions & Receipts. Table of Contents Creating a Requisition Define Requisition Vendor.
Lecture Note 8 Using Data Flow Diagrams
Logical Database Design Nazife Dimililer. II - Logical Database Design Two stages –Building and validating local logical model –Building and validating.
Bellezza Management Salon
We are: Gabriel Kreindler Mihai Moldovan Andrei Costescu Cezar Chirilă Project Manager: Corina Achinca At, we seek to provide professional and mission.
ACS1803 Lecture Outline 2 DATA MANAGEMENT CONCEPTS Text, Ch. 3 How do we store data (numeric and character records) in a computer so that we can optimize.
Commodity Futures Meaning. Objectives of Commodity Markets.
Database Design Sections 4 & 5 Subtype, Supertype, Mutually exclusive, non-transferability, transferable, 1:1, 1:M, M:M, Redundant, Intersection entity,
Microsoft Access Understanding Relationships Academic Health Center Training (352)
Introduction to Database Systems
Copyright © 2007, Oracle. All rights reserved. Managing Concurrent Requests.
Avoid using attributes? Some of the problems using attributes: Attributes cannot contain multiple values (child elements can) Attributes are not easily.
Team 9 Jin woo Choi Philip Liu Nallely Tagle
Ad Hoc Constraints Objectives of the Lecture : To consider Ad Hoc Constraints in principle; To consider Ad Hoc Constraints in SQL; To consider other aspects.
CIPC Webinars Change of Close Corporations Members Prepared by: Vuyani Nkohla.
The Pencil Company Team Slave to the WWW. Team Members  Ashley Petrinec – Co-lead of documentation and design  Jennifer Williams – Co-lead of documentation.
Database Design and Management CPTG /23/2015Chapter 12 of 38 Functions of a Database Store data Store data School: student records, class schedules,
1. Objectives At the end of this chapter you should be able to:  Discuss the use and features of a data model  Define the terms entity and attribute.
1 IRU – database design part one Geoff Leese September 2009.
HSC IT Center Training University of Florida Microsoft Access Understanding Relationships Health Science Center IT Center – Training
Mama's Love Bakery Employee and Supplier Record Tracker Co, Roxanne De Leon, Gelvin Dela Cruz, Shannen Rose Haw, Michael.
The Market Forces of Supply and Demand
Avan’Garde Beauty Saloon Project Project manager:Emanuela Cerchez Powered by: Raluca,Gabriela and Raluca Giving shape to your dreams.
Introduction to Database Systems
Venture Capital and the Finance of Innovation [Course number] Professor [Name ] [School Name] Chapter 13 Option Pricing.
44220: Database Design & Implementation Conceptual Data Modelling Ian Perry Room: C49 Tel Ext.: 7287
Software Quality Assurance SOFTWARE DEFECT. Defect Repair Defect Repair is a process of repairing the defective part or replacing it, as needed. For example,
Topic 4 - Database Design Unit 1 – Database Analysis and Design Advanced Higher Information Systems St Kentigern’s Academy.
RELATIONAL DATA MODELING MIS2502 Data Analytics. What is a model? Representation of something in the real world.
AR350: Maintaining Customers Welcome to AR350: Maintaining Customers.
PestPac Software. Leads The Leads Module allows you to track all of your pending sales for your company from the first contact to the close. By the end.
Proposal for PA’S PAWS By Better Options for New Enterprises (B.O.N.E.)
MIS2502: Data Analytics Relational Data Modeling David Schuff
Scientific data storage: How are computers involved in the following?
 TATA CONSULTANCY SERVICES MM - INVOICE VERIFICATION.
1 Database Design Sections 6 & 7 First Normal Form (1NF), Second Normal Form (2NF), Unique Identifiers (UID), Third Normal Form (3NF), Arcs, Hierarchies.
SASSI GIFTS On the move so you don’t have to! FRANCHISE INFORMATION.
Let try to identify the conectivity of these entity relationship
Service Management Time Slots
FIZZ Database General presentation.
MIS5101: Business Intelligence Relational Data Modeling
ACS1803 Lecture Outline 2   DATA MANAGEMENT CONCEPTS Text, Ch. 3
CIS 336 str Competitive Success/snaptutorial.com
CIS 336 str Education for Service- -snaptutorial.com.
CIS 336 str Teaching Effectively-- snaptutorial.com.
ISC440: Web Programming 2 Server-side Scripting PHP 3
ERD Exercises.
Advanced SQL: Views & Triggers
MIS2502: Data Analytics Relational Data Modeling
MyBass.
SQL – Constraints & Triggers
Database Management system
Database Management system
EGN 5621 Enterprise Systems Collaboration Summer B, 2013
Presentation transcript:

“Pleasure in the job puts perfection in the work” Aristotle The team: Adriana Velicu Alexandru Diaconu Gabriel Musteata Project manager: Emanuela Cerchez Magenta Beauty Salon

References To carry out this project, we had several interviews with the owner, manager and one of the 2 cosmeticians of the Magenta Beauty Salon - Mrs. Mihaela Godun. Magenta Beauty Salon Str. Pictorului nr. 4A, bl. K1, sc. C, Iasi, phone number: The documentation of the interviews was made after visiting websites of similar businesses, among which : /21

3/21 Statement of the Problem Magenta Beauty Salon is a growing business. It has more and more clients and its owner wants to keep track of supplies (products and tools), treatments, sessions, appointments and clients and has a great interest in statistics (e.g. which are the most popular treatments during the hot summer days? in which time of the year are the most clients?).

4/21 Proposed Solution To solve this problem, we are going to create a very efficient and user-friendly database which will store all the information Mrs. Mihaela needs.

5/21 To create an efficient database which will fulfill our client's needs, we must store the following information:  CLIENT: id, first name, last name - REGULAR client: date of birth, phone number and a general description  TREATMENT_TYPE: code, name, description and its branch (e.g. manicure/pedicure, cosmetics)  TREATMENT: id, comments and an optional price change, which is a deviation from its normal cost, based on the particularities of that specific treatment; it is filled as the employee who applied it sees fit Information Requirements

6/21 Information Requirements  APPOINTMENT: an id and its scheduled time (date modelled separately)  SESSION: id, time of commencement and some global comments  SUPPLIER: name, phone number  SUPPLY: id, name - PRODUCT: quantity, producer  PRICE: value and a start date, which will be explained later  DAY: date and weather, mainly because our client is interested in the weather conditions of each day appointments are made / cancelled or sessions take place

7/21 Structural Rules  An APPOINTMENT may be cancelled.  All APPOINTMENTs are tracked (both attended and cancelled).  The database must store the supplies in stock (SUPPLY_CLASS).  A SUPPLIER may provide the salon with either TOOLs or PRODUCTs.  There are some preset TREATMENT_TYPEs which have a code and a price.  The preset TREATMENT_TYPEs have a listing of products used by default.  A price belongs either to a TREATMENT_TYPE or a PRODUCT.

8/21 Structural Rules  A person becomes a SUPPLIER when he/she appears on a SUPPLY_LOG_ITEM for the first time.  A PRODUCT represents a class of products (e.g. L'Oreal Dermo-Expertise Hydra-Renewal Daily Dry Skin Cream).  It is not necessary to model the case in which CASUAL CLIENTs become REGULAR ones, because this change depends solely on the employees.  The PRICE of a PRODUCT may change over time and it's necessary to keep track of its history.  During a SESSION must be applied one or more TREATMENTs.

9/21 Procedural Rules  I f a client is not satisfied with the result of a TREATMENT, the TREATMENT may be corrected at no extra charge.  PRODUCTs and TOOLs can only be bought from SUPPLIERs.  The salon sells PRODUCTs, but does not sell TOOLs.  If a person comes to the salon for the first time, but does not have an APPOINTMENT and the suitable employee is free at the time and agrees to apply that person the treatments he or she wants, then the person becomes a CLIENT that has one SESSION and no APPOINTMENTs.  Only CLIENTs may buy PRODUCTs.

10/21  If some global comments of a SESSION need to be made (that are not related to that SESSION's specific TREATMENT - e.g. something happens to a person and we do not know which TREATMENT caused it), they are stored in a short text, the SESSION's "global_comments“.  APPOINTMENTs are made by phone or at the center.  A CLIENT may change the scheduled day & time for an appointment he made.  If a scheduled SESSION (i.e. APPOINTMENT that is about to be attended) can not be held (e.g. because of lack of a necessary product type), then a new APPOINTMENT is made, and the old one is declared cancelled (by relating it to a day of cancellation'). Procedural Rules

11/21 Programmatic Rules  A TREATMENT's cost is computed by adding its price_changes to its TREATMENT_TYPE's PRICE (price_changes may be positive, negative or null).  If an APPOINTMENT has a cancellation DAY, then it is cancelled.  Otherwise, if the APPOINTMENT's scheduled DAY and time have not passed yet, then it is still pending; if the scheduled DAY and time have passed, then the APPOINTMENT was attended.

12/21 Assumptions & Constraints  Each CLIENT receives an artificial ID when he/she makes his/her first APPOINTMENT or attends the first SESSION.  A CLIENT is introduced in the database at the moment he/she makes an APPOINTMENT (even if the APPOINTMENT will later be cancelled) or attends a SESSION. Thus, a CLIENT may not lack both APPOINTMENTs and SESSIONs.  Each applied TREATMENT may deviate from its preset type by adding or removing products that are stored in "P_CHANGE_LIST_ITEM“.  A SUPPLIER is a person and not a company.

13/21 Assumptions & Constraints  If extra price changes occur (e.g. changes caused by product addition / removal), their sum is stored in 'price_changes' and their explanation in 'comments' (of treatment).  There can exist two SUPPLIERs with the same name.  A SUPPLIER may supply either TOOLs or PRODUCTs.  A PRODUCT SUPPLIER may only supply PRODUCTs from one company.  The id of a session must be the same as the appointment which preceded it, if any did.  A SESSION may not be related to a day which has not passed yet.

14/21 Assumptions & Constraints  If a SESSION has no APPOINTMENT associated, it gets an id with a value that no APPOINTMENT uses in its "id" field.  The 'weather' attribute is null if it belongs to a DAY that has not passed yet (i.e. scheduled day for an APPOINTMENT) and must hold a value otherwise.  A day must have a relation with a SESSION, an APPOINTMENT or both.  Type of the P_CHANGE_LIST_ITEM may be only 'added' or 'removed', reflecting if the product was added to, respectively removed from the treatment.  A DAY that has not passed yet, may not be the DAY of creation/cancelation for any APPOINTMENT.

ERD MAGENTAMAGENTA BEAUTYSALONBEAUTYSALON

16/21 Explanations  All the particularities of a given past TREATMENT are noted in the TREATMENT’s “comments” attribute.  Full_date = date and time.  CPP = Client Product Purchase.  TP = Treatment - Product.  TTA = Treatment Type – Appointment.  P_CHANGE = Price Change.

17/21 Sample of Information SCS = SUPPLY_CLASS SPR = SUPPLIER SUPPLY_LOG_ITEMS full_datequantityprice_per_unitdiscountscs_idspr_name 14/06/ : lei5%12Harasim Dumitru 23/06/ : %20Porcaru Maria 29/07/2004 8: lei10%6Tilea Margareta 17/08/ : lei0%12Harasim Dumitru

SUPPLIERS namephone_number Harasim Dumitru Porcaru Maria Tilea Margareta Vlad Gheorghe Zaharia Paulina /21 Sample of Information

19/21 Sample of Information SCD = SCHEDULED CND = CANCELLED CAD = CREATED CET = CLIENT APPOINTMENTS idtimescd_oncad_oncnd_oncet_id 34210:1502/08/200429/07/200431/07/ :3002/08/200431/07/ :3002/08/200431/07/ :1503/08/200431/07/ :0002/08/200431/07/200402/08/ :4004/08/200402/08/ Query: In which period of 7 days did the salon have most appointments? Result: 19/08/2004 – 25/08/2004.

20/21 We are delighted that you have tasted a bit of our REVOLUTION.

21/21