59 lines
No EOL
4.5 KiB
Text
59 lines
No EOL
4.5 KiB
Text
<diagram program="umletino" version="15.1"><zoom_level>8</zoom_level><element><id>UMLClass</id><coordinates><x>624</x><y>448</y><w>216</w><h>80</h></coordinates><panel_attributes>Client
|
|
--
|
|
+clientId NUMBER <pk> NOT NULL
|
|
name VARCHAR2(20) NOT NULL
|
|
lastName VARCHAR2(20) NOT NULL
|
|
age NUMBER NOT NULL CHECK(alter>17)
|
|
adressId NUMBER <fk> NOT NULL
|
|
</panel_attributes><additional_attributes></additional_attributes></element><element><id>UMLClass</id><coordinates><x>648</x><y>672</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>1064</x><y>432</y><w>184</w><h>136</h></coordinates><panel_attributes>booking
|
|
--
|
|
+bookingId NUMBEWR <pk> NOT NULL
|
|
arrivalDate DATE NOT NULL
|
|
departureDate DATE NULL
|
|
cost NUMBER NULL
|
|
pensionType VARCHAR2(20) NOT NULL
|
|
lateCheckout NUMBER NULL
|
|
guestId NUMBER <fk> NOT NULL
|
|
clientId NUMBER <fl> NOT NULL
|
|
roomNumber NUMBER <fk> NOT NULL</panel_attributes><additional_attributes></additional_attributes></element><element><id>Relation</id><coordinates><x>720</x><y>520</y><w>112</w><h>168</h></coordinates><panel_attributes>lt=<-
|
|
adressId = adressId</panel_attributes><additional_attributes>10;190;10;10</additional_attributes></element><element><id>Relation</id><coordinates><x>832</x><y>464</y><w>248</w><h>32</h></coordinates><panel_attributes>lt=<-
|
|
clientId = clientId</panel_attributes><additional_attributes>10;20;290;20</additional_attributes></element><element><id>UMLClass</id><coordinates><x>1496</x><y>432</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>1240</x><y>464</y><w>272</w><h>32</h></coordinates><panel_attributes>lt=<-
|
|
roomNumber = roomNumber</panel_attributes><additional_attributes>320;20;10;20</additional_attributes></element><element><id>UMLClass</id><coordinates><x>1496</x><y>664</y><w>200</w><h>88</h></coordinates><panel_attributes>Cleaningplan
|
|
--
|
|
+cleaningPlanId NUMBER <pk> NOT NULL
|
|
date DATE NOT NULL
|
|
duration NUMBER NOT NULL
|
|
roomNumber NUMBER <fk> NOT NULL
|
|
clerkId NUMBER <fk> NOT NULL</panel_attributes><additional_attributes></additional_attributes></element><element><id>UMLClass</id><coordinates><x>1064</x><y>672</y><w>192</w><h>80</h></coordinates><panel_attributes>Clerk
|
|
--
|
|
+clerkId NUMBER <pk> NOT NULL
|
|
name VARCHAR2(20) NOT NULL
|
|
lastName VARCHAR2(20) NOT NULL
|
|
age NUMBER NOT NULL CHECK(age>15)
|
|
adressId NUMBER <fk> NOT NULL</panel_attributes><additional_attributes></additional_attributes></element><element><id>Relation</id><coordinates><x>800</x><y>696</y><w>280</w><h>32</h></coordinates><panel_attributes>lt=<-
|
|
adressId = adressId</panel_attributes><additional_attributes>10;20;330;20</additional_attributes></element><element><id>Relation</id><coordinates><x>1248</x><y>696</y><w>264</w><h>32</h></coordinates><panel_attributes>lt=<-
|
|
clerkId = clerkId</panel_attributes><additional_attributes>10;20;310;20</additional_attributes></element><element><id>Relation</id><coordinates><x>1584</x><y>520</y><w>160</w><h>160</h></coordinates><panel_attributes>lt=<-
|
|
roomNumber = roomNumber</panel_attributes><additional_attributes>10;10;10;180</additional_attributes></element><element><id>UMLClass</id><coordinates><x>1064</x><y>240</y><w>192</w><h>80</h></coordinates><panel_attributes>Guest
|
|
--
|
|
+guestId 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>560</x><y>264</y><w>520</w><h>472</h></coordinates><panel_attributes>lt=<-
|
|
adressId = adressId</panel_attributes><additional_attributes>110;570;10;570;10;10;630;10</additional_attributes></element><element><id>Relation</id><coordinates><x>1152</x><y>312</y><w>104</w><h>136</h></coordinates><panel_attributes>lt=<-
|
|
guestId = guestId</panel_attributes><additional_attributes>10;10;10;150</additional_attributes></element></diagram> |