60 lines
5.7 KiB
Text
60 lines
5.7 KiB
Text
|
<diagram program="umletino" version="15.1"><zoom_level>8</zoom_level><element><id>UMLClass</id><coordinates><x>1040</x><y>576</y><w>184</w><h>40</h></coordinates><panel_attributes>Client
|
||
|
--
|
||
|
bankDetails VARCHAR2(22) NOT NULL</panel_attributes><additional_attributes></additional_attributes></element><element><id>UMLClass</id><coordinates><x>312</x><y>184</y><w>160</w><h>96</h></coordinates><panel_attributes>Adress
|
||
|
--
|
||
|
*+adressId NUMBER <pk> NOT NULL*
|
||
|
street VARCHAR2(20) NOT NULL
|
||
|
houseNumber NUMBER NOT NULL
|
||
|
postalCode NUMBER NOT NULL
|
||
|
city VARCHAR2(20) NOT NULL
|
||
|
country NUMBER2(20) NOT NULL</panel_attributes><additional_attributes></additional_attributes></element><element><id>UMLClass</id><coordinates><x>1424</x><y>552</y><w>184</w><h>104</h></coordinates><panel_attributes>Booking
|
||
|
--
|
||
|
*+bookingId NUMBER <pk> NOT NULL*
|
||
|
arrivalDate DATE NOT NULL
|
||
|
departureDate DATE NULL
|
||
|
cost NUMBER NULL
|
||
|
pensionType VARCHAR2(20) NOT NULL
|
||
|
lateCheckout NUMBER NULL
|
||
|
*clientId NUMBER <fl> NOT NULL*</panel_attributes><additional_attributes></additional_attributes></element><element><id>Relation</id><coordinates><x>1216</x><y>584</y><w>224</w><h>32</h></coordinates><panel_attributes>lt=<-
|
||
|
clientId = personId</panel_attributes><additional_attributes>10;20;260;20</additional_attributes></element><element><id>UMLClass</id><coordinates><x>1424</x><y>944</y><w>192</w><h>96</h></coordinates><panel_attributes>Room
|
||
|
--
|
||
|
*+roomNumber NUMBER <pk> NOT NULL*
|
||
|
floor NUMBER NOT NULL
|
||
|
roomTyp VARCHAR2(20) NOT NULL
|
||
|
size NUMBER NOT NULL
|
||
|
accessibility NUMBER NOT NULL
|
||
|
beds NUMBER NOT NULL</panel_attributes><additional_attributes></additional_attributes></element><element><id>Relation</id><coordinates><x>1512</x><y>824</y><w>160</w><h>136</h></coordinates><panel_attributes>lt=<-
|
||
|
roomNumber = roomNumber</panel_attributes><additional_attributes>10;150;10;10</additional_attributes></element><element><id>UMLClass</id><coordinates><x>504</x><y>944</y><w>200</w><h>80</h></coordinates><panel_attributes>Cleaningplan
|
||
|
--
|
||
|
*+cleaningPlanId NUMBER <pk> NOT NULL*
|
||
|
date DATE NOT NULL
|
||
|
duration NUMBER NOT NULL
|
||
|
*roomNumber NUMBER <fk> NOT NULL*</panel_attributes><additional_attributes></additional_attributes></element><element><id>UMLClass</id><coordinates><x>504</x><y>560</y><w>192</w><h>48</h></coordinates><panel_attributes>Clerk
|
||
|
--
|
||
|
staffNumber NUMBER NOT NULL UNIQUE
|
||
|
salary NUMBER NOT NULL</panel_attributes><additional_attributes></additional_attributes></element><element><id>Relation</id><coordinates><x>592</x><y>600</y><w>104</w><h>160</h></coordinates><panel_attributes>lt=<-
|
||
|
clerkId = personId</panel_attributes><additional_attributes>10;10;10;180</additional_attributes></element><element><id>Relation</id><coordinates><x>696</x><y>976</y><w>744</w><h>32</h></coordinates><panel_attributes>lt=<-
|
||
|
roomNumber = roomNumber</panel_attributes><additional_attributes>910;20;10;20</additional_attributes></element><element><id>UMLClass</id><coordinates><x>808</x><y>192</y><w>192</w><h>80</h></coordinates><panel_attributes>Person
|
||
|
--
|
||
|
*+personId NUMBER <pk> NOT NULL*
|
||
|
name VARCHAR2(20) NOT NULL
|
||
|
lastName VARCHAR2(20) NOT NULL
|
||
|
age NUMBER NOT NULL CHECK
|
||
|
*adressId NUMBER <fk> NOT NULL*
|
||
|
</panel_attributes><additional_attributes></additional_attributes></element><element><id>Relation</id><coordinates><x>464</x><y>216</y><w>360</w><h>32</h></coordinates><panel_attributes>lt=<-
|
||
|
adressId = adressId</panel_attributes><additional_attributes>10;20;90;20;430;20</additional_attributes></element><element><id>Relation</id><coordinates><x>992</x><y>216</y><w>544</w><h>128</h></coordinates><panel_attributes>lt=<-
|
||
|
personId = personId</panel_attributes><additional_attributes>10;20;660;20;660;140</additional_attributes></element><element><id>Relation</id><coordinates><x>888</x><y>264</y><w>264</w><h>328</h></coordinates><panel_attributes>lt=<<-</panel_attributes><additional_attributes>10;10;10;220;310;220;310;390</additional_attributes></element><element><id>Relation</id><coordinates><x>592</x><y>264</y><w>320</w><h>312</h></coordinates><panel_attributes>lt=<<-</panel_attributes><additional_attributes>380;10;380;220;10;220;10;370</additional_attributes></element><element><id>UMLClass</id><coordinates><x>480</x><y>744</y><w>248</w><h>48</h></coordinates><panel_attributes>CleaningClerk
|
||
|
--
|
||
|
*+clerkId NUMBER <pk><fk> NOT NULL*
|
||
|
*+cleaningPlanId NUMBER <pk><fk> NOT NULL*</panel_attributes><additional_attributes></additional_attributes></element><element><id>Relation</id><coordinates><x>592</x><y>784</y><w>168</w><h>176</h></coordinates><panel_attributes>lt=<-
|
||
|
cleaningPlanId = cleaningPlanId</panel_attributes><additional_attributes>10;200;10;10</additional_attributes></element><element><id>UMLClass</id><coordinates><x>1400</x><y>784</y><w>232</w><h>48</h></coordinates><panel_attributes>BookingRoom
|
||
|
--
|
||
|
*+bookingId NUMBER <pk><fk> NOT NULL*
|
||
|
*+roomNumber NUMBER <pk><fk> NOT NULL*
|
||
|
</panel_attributes><additional_attributes></additional_attributes></element><element><id>Relation</id><coordinates><x>1512</x><y>648</y><w>128</w><h>152</h></coordinates><panel_attributes>lt=<-
|
||
|
bookingId = bookingId</panel_attributes><additional_attributes>10;10;10;170</additional_attributes></element><element><id>UMLClass</id><coordinates><x>1400</x><y>328</y><w>232</w><h>48</h></coordinates><panel_attributes>BookingGuest
|
||
|
--
|
||
|
*+bookingId NUMBER <pk><fk> NOT NULL*
|
||
|
*+personId NUMBER <pk><fk> NOT NULL*
|
||
|
</panel_attributes><additional_attributes></additional_attributes></element><element><id>Relation</id><coordinates><x>1512</x><y>368</y><w>128</w><h>200</h></coordinates><panel_attributes>lt=<-
|
||
|
bookingId = bookingId</panel_attributes><additional_attributes>10;230;10;10</additional_attributes></element></diagram>
|