8UMLClass104057618440Client
--
bankDetails VARCHAR2(22) NOT NULLUMLClass31218416096Adress
--
*+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 NULLUMLClass1424552184104Booking
--
*+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*Relation121658422432lt=<-
clientId = personId10;20;260;20UMLClass142494419296Room
--
*+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 NULLRelation1512824160136lt=<-
roomNumber = roomNumber10;150;10;10UMLClass50494420080Cleaningplan
--
*+cleaningPlanId NUMBER <pk> NOT NULL*
date DATE NOT NULL
duration NUMBER NOT NULL
*roomNumber NUMBER <fk> NOT NULL*UMLClass50456019248Clerk
--
staffNumber NUMBER NOT NULL UNIQUE
salary NUMBER NOT NULLRelation592600104160lt=<-
clerkId = personId10;10;10;180Relation69697674432lt=<-
roomNumber = roomNumber910;20;10;20UMLClass80819219280Person
--
*+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*
Relation46421636032lt=<-
adressId = adressId10;20;90;20;430;20Relation992216544128lt=<-
personId = personId10;20;660;20;660;140Relation888264264328lt=<<-10;10;10;220;310;220;310;390Relation592264320312lt=<<-380;10;380;220;10;220;10;370UMLClass48074424848CleaningClerk
--
*+clerkId NUMBER <pk><fk> NOT NULL*
*+cleaningPlanId NUMBER <pk><fk> NOT NULL*Relation592784168176lt=<-
cleaningPlanId = cleaningPlanId10;200;10;10UMLClass140078423248BookingRoom
--
*+bookingId NUMBER <pk><fk> NOT NULL*
*+roomNumber NUMBER <pk><fk> NOT NULL*
Relation1512648128152lt=<-
bookingId = bookingId10;10;10;170UMLClass140032823248BookingGuest
--
*+bookingId NUMBER <pk><fk> NOT NULL*
*+personId NUMBER <pk><fk> NOT NULL*
Relation1512368128200lt=<-
bookingId = bookingId10;230;10;10