8UMLClass62444821680Client
--
+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
UMLClass64867216096Adress
--
+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 NULLUMLClass1064432184136booking
--
+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 NULLRelation720520112168lt=<-
adressId = adressId10;190;10;10Relation83246424832lt=<-
clientId = clientId10;20;290;20UMLClass149643219296Room
--
+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 NULLRelation124046427232lt=<-
roomNumber = roomNumber320;20;10;20UMLClass149666420088Cleaningplan
--
+cleaningPlanId NUMBER <pk> NOT NULL
date DATE NOT NULL
duration NUMBER NOT NULL
roomNumber NUMBER <fk> NOT NULL
clerkId NUMBER <fk> NOT NULLUMLClass106467219280Clerk
--
+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 NULLRelation80069628032lt=<-
adressId = adressId10;20;330;20Relation124869626432lt=<-
clerkId = clerkId10;20;310;20Relation1584520160160lt=<-
roomNumber = roomNumber10;10;10;180UMLClass106424019280Guest
--
+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
Relation560264520472lt=<-
adressId = adressId110;570;10;570;10;10;630;10Relation1152312104136lt=<-
guestId = guestId10;10;10;150