SlideShare a Scribd company logo
1 of 7
UNIVERZITETI SHTETËROR I TETOVËS
Lënda
Baza të dhënash
Tema:
Menaxhimi dhe organizimi për mirëmbajtjen e një hoteli
Grupi:
1.Meradije Asipi
2.Fatime Selmani
3.Valdete Sherifi Kumanovë,dhjetor 2014
Përshkrimi i projektit
Zgjedhja e kësaj teme u bë për shkak të anës së dobët të zhvillimit të turizmit në vendin tonë.
Gjithashtu dhe numrit të vogel të zinxhirit të hoteleve .
Për një organizim dhe menaxhim të mirë të punës së një hoteli duhet një staf sa më I organizuar
dhe I cili bashkpunojnë në mes vete.
Këtë problem e kemi zgjidhur përmes ER-diagramit ,i cili na tregon funksionimin e Hotelit të
avancuar ku çdo klient mundet ta ndiejë veten sikur në shtëpinë e tij. Kemi përshkruar mënyrat e
pagesave,nivelin e dhomave: tipin e tyre etj, gjithashtu edhe përshkrimin e hotelit në përgjithësi.
Në ER-diagram kemi paraqitur entitete ,atributet e tyre , ku kemi çelësa primar, lidhjet etj.
ER-diagrami
Për
Pagesa
Fatura
Klienti
Emri
Email
Vendi
ID_rezervimi
Rezervimet
DataData e fillimit Data e mbarimit
Periudha
Hotel_ID
Çmimi
Dhoma të lira
Data
Për
Tipi I dhomës
Fatura
Data
Data
Kostoja për një natë
Metodat e pagesës
Statusi
ID_Fatura
Përshkrimi I faturës
Emri
Mbiemri
ID_e klientit Hotel_ID
HOTEL
Emri
Hotel_ID
Është në
Vendi
Qyteti
Distanca nga qyteti
Postcodi
Rruga
Ka sigurim
Sigurimi
Kotroll brenda orarit
Kontroll jashtë orarit
Të punës
Ka objekt
Objekt
Restorant
Bar
Sport
Park
Të
drejtuar
nga
Menaxheri
Emri
Staf_ID
Dhomat
ID_rezervimi
Çmimi sot
Kontrolla
Kategoria e dhomave
Është
Kufizimet ne ER – diagram në çelës dhe pjesëmarrje
1. Entiteti : mimi sot ështëҀ entitet shum vlerësh , çelës primar ka Hotel_ID
2. Entiteti :Kategoria e dhomave ështe entitet shum vlerësh ku atributi Hotel_ID është
atribut I derivuar. Te ky entitet kemi detyrim çelësi ku për çdo dhomë kemi kategorin e saj.
3. Entiteti :Dhomat është entitet shumë vlerësh ,ka detyrim çelësi.
4. Lidhja:Është është lidhje shumë vlerëshe ku ka detyrim çelësi , sepse çdo hotel
përmban dhoma.
5. Ndërmjet dy entiteteve Fatura dhe Klienti dhe lidhjes Pagesa kemi detyrim çelësi për
arsye se çdo pages bëhet me faturë nga ana e klientit.
6. Kemi entietin HOTEL , i cili është I lidhur me shumë lidhje dhe entietete.
• Lidhja Është në dhe entiteti Vend kanë një shigjetë nga të dyja anët qe donë të thotë:se
në një vend mund te ketë një hotel,kurse entiteti Vend ka tre atribute si çelësa primar
me të cilin e identifikojm një hotel.
• Lidhja Ka Sigurim gjithashtu ka një shigjetë e cila tregon detyrim nga çelësi.
• Edhe lidhja Të drejtuar Nga ka detyrim çelësi me entietin Menaxheri ,i cili si çelës
primar ka Staf_ID.
Shëndrrimi i ER modelit në model Relacional
Klienti (Emri,Email,ID_Rezervimi,Vendi)
Rezervimet(Periudha,Data,Data e fillimit,Data e mbarimit,ID_Rezervimi)
Ϛmimi Sot (Hotel_ID,Dhoma të lira, mimi,Data)Ϛ
Kategoria e dhomave (Emri,Mbiemri,ID_Klientit,Hotel_ID)
Dhomat (Tipi i dhomës)
Kontrolla (Data)
Pagesa ( Metodat e pagesës,Kostoja për një natë,Data)
Fatura (Përshkrimi i faturës,ID_Fatura,Statusi)
Hotel (Hotel_ID,Emri)
Vendi (Qyteti, Postcodi,Rruga,Distanca nga qyteti)
Është në (Qyteti,Postcodi,Rruga)
Sigurimi (Kontroll brenda orarit,Kontroll jashtë orarit)
Objekt (Restorant,Bar,Park,Sport)
Menaxheri (Staf_ID,Emri)
Të drejtuar nga ( Staf_ID)
Emri Email ID_Reze Vendi Periudha Data Hotel_
ID
Cmimi ID_Kl StafID
Vesa Vesa@
live.co
m
6262525
26
Kum
anove
Vjeshte 12-18
tetor
2014
746829
3
70e 832910
37
839502
8526
Bujar …. 2424525
74
Tetov
e
Dimer 17-25
dhjet
or201
4
273937
4
45e
Emri Email ID_Reze Vendi Periudha Data Hotel_
ID
Cmimi ID_Kl StafID
Vesa Vesa@
live.co
m
6262525
26
Kum
anove
Vjeshte 12-18
tetor
2014
746829
3
70e 832910
37
839502
8526
Bujar …. 2424525
74
Tetov
e
Dimer 17-25
dhjet
or201
4
273937
4
45e

More Related Content

Featured

AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfAI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfmarketingartwork
 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024Neil Kimberley
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)contently
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024Albert Qian
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsKurio // The Social Media Age(ncy)
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Search Engine Journal
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summarySpeakerHub
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next Tessa Mero
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentLily Ray
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best PracticesVit Horky
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project managementMindGenius
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...RachelPearson36
 
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...Applitools
 
12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at WorkGetSmarter
 

Featured (20)

AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfAI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
 
Skeleton Culture Code
Skeleton Culture CodeSkeleton Culture Code
Skeleton Culture Code
 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search Intent
 
How to have difficult conversations
How to have difficult conversations How to have difficult conversations
How to have difficult conversations
 
Introduction to Data Science
Introduction to Data ScienceIntroduction to Data Science
Introduction to Data Science
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best Practices
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project management
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
 
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
 
12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work
 
ChatGPT webinar slides
ChatGPT webinar slidesChatGPT webinar slides
ChatGPT webinar slides
 
More than Just Lines on a Map: Best Practices for U.S Bike Routes
More than Just Lines on a Map: Best Practices for U.S Bike RoutesMore than Just Lines on a Map: Best Practices for U.S Bike Routes
More than Just Lines on a Map: Best Practices for U.S Bike Routes
 

ER diagrami

  • 1. UNIVERZITETI SHTETËROR I TETOVËS Lënda Baza të dhënash Tema: Menaxhimi dhe organizimi për mirëmbajtjen e një hoteli Grupi: 1.Meradije Asipi 2.Fatime Selmani 3.Valdete Sherifi Kumanovë,dhjetor 2014
  • 2. Përshkrimi i projektit Zgjedhja e kësaj teme u bë për shkak të anës së dobët të zhvillimit të turizmit në vendin tonë. Gjithashtu dhe numrit të vogel të zinxhirit të hoteleve . Për një organizim dhe menaxhim të mirë të punës së një hoteli duhet një staf sa më I organizuar dhe I cili bashkpunojnë në mes vete. Këtë problem e kemi zgjidhur përmes ER-diagramit ,i cili na tregon funksionimin e Hotelit të avancuar ku çdo klient mundet ta ndiejë veten sikur në shtëpinë e tij. Kemi përshkruar mënyrat e pagesave,nivelin e dhomave: tipin e tyre etj, gjithashtu edhe përshkrimin e hotelit në përgjithësi. Në ER-diagram kemi paraqitur entitete ,atributet e tyre , ku kemi çelësa primar, lidhjet etj.
  • 3. ER-diagrami Për Pagesa Fatura Klienti Emri Email Vendi ID_rezervimi Rezervimet DataData e fillimit Data e mbarimit Periudha Hotel_ID Çmimi Dhoma të lira Data Për Tipi I dhomës Fatura Data Data Kostoja për një natë Metodat e pagesës Statusi ID_Fatura Përshkrimi I faturës Emri Mbiemri ID_e klientit Hotel_ID HOTEL Emri Hotel_ID Është në Vendi Qyteti Distanca nga qyteti Postcodi Rruga Ka sigurim Sigurimi Kotroll brenda orarit Kontroll jashtë orarit Të punës Ka objekt Objekt Restorant Bar Sport Park Të drejtuar nga Menaxheri Emri Staf_ID Dhomat ID_rezervimi Çmimi sot Kontrolla Kategoria e dhomave Është
  • 4. Kufizimet ne ER – diagram në çelës dhe pjesëmarrje 1. Entiteti : mimi sot ështëҀ entitet shum vlerësh , çelës primar ka Hotel_ID 2. Entiteti :Kategoria e dhomave ështe entitet shum vlerësh ku atributi Hotel_ID është atribut I derivuar. Te ky entitet kemi detyrim çelësi ku për çdo dhomë kemi kategorin e saj. 3. Entiteti :Dhomat është entitet shumë vlerësh ,ka detyrim çelësi. 4. Lidhja:Është është lidhje shumë vlerëshe ku ka detyrim çelësi , sepse çdo hotel përmban dhoma. 5. Ndërmjet dy entiteteve Fatura dhe Klienti dhe lidhjes Pagesa kemi detyrim çelësi për arsye se çdo pages bëhet me faturë nga ana e klientit. 6. Kemi entietin HOTEL , i cili është I lidhur me shumë lidhje dhe entietete. • Lidhja Është në dhe entiteti Vend kanë një shigjetë nga të dyja anët qe donë të thotë:se në një vend mund te ketë një hotel,kurse entiteti Vend ka tre atribute si çelësa primar me të cilin e identifikojm një hotel. • Lidhja Ka Sigurim gjithashtu ka një shigjetë e cila tregon detyrim nga çelësi. • Edhe lidhja Të drejtuar Nga ka detyrim çelësi me entietin Menaxheri ,i cili si çelës primar ka Staf_ID.
  • 5. Shëndrrimi i ER modelit në model Relacional Klienti (Emri,Email,ID_Rezervimi,Vendi) Rezervimet(Periudha,Data,Data e fillimit,Data e mbarimit,ID_Rezervimi) Ϛmimi Sot (Hotel_ID,Dhoma të lira, mimi,Data)Ϛ Kategoria e dhomave (Emri,Mbiemri,ID_Klientit,Hotel_ID) Dhomat (Tipi i dhomës) Kontrolla (Data) Pagesa ( Metodat e pagesës,Kostoja për një natë,Data) Fatura (Përshkrimi i faturës,ID_Fatura,Statusi) Hotel (Hotel_ID,Emri) Vendi (Qyteti, Postcodi,Rruga,Distanca nga qyteti) Është në (Qyteti,Postcodi,Rruga) Sigurimi (Kontroll brenda orarit,Kontroll jashtë orarit) Objekt (Restorant,Bar,Park,Sport) Menaxheri (Staf_ID,Emri) Të drejtuar nga ( Staf_ID)
  • 6. Emri Email ID_Reze Vendi Periudha Data Hotel_ ID Cmimi ID_Kl StafID Vesa Vesa@ live.co m 6262525 26 Kum anove Vjeshte 12-18 tetor 2014 746829 3 70e 832910 37 839502 8526 Bujar …. 2424525 74 Tetov e Dimer 17-25 dhjet or201 4 273937 4 45e
  • 7. Emri Email ID_Reze Vendi Periudha Data Hotel_ ID Cmimi ID_Kl StafID Vesa Vesa@ live.co m 6262525 26 Kum anove Vjeshte 12-18 tetor 2014 746829 3 70e 832910 37 839502 8526 Bujar …. 2424525 74 Tetov e Dimer 17-25 dhjet or201 4 273937 4 45e