ESTERIA TIFFANY ERFROVINA TAMBUNAN (825220011) MARCELLINUS ANTHONY (825220031)
1.1
Entity name Description Aliases Occurrence
staff general term describing Employee Each member of staff
all staff employed by works at one perticular
Dreamhome. branch
PropertyForRent general term describing Property each property have a
all property for rent single owner and is
available at one specific
branch. where the
property is manage by
one member of staff, a
property is viewedby
many client and rented
by a single client at any
one time.
PrivateOwner describes the property Individual owner private owner rents out
owned by individuals his property for rent to
others through dream
house
BusinessOwner describes the property Company owner The company rents out
owned by a company they property to another
company or individuals
client Describing about a Customer Client register in
customer want to rent a branch to search and
property in rent a property
DreamHouse
Preference describes the staff who advertise Clients view properties
provide references to for rent and are referred
clients by staff
Lease describes the agreement rent the client will carry out
between the client and the procurement
the owner regarding the process with the owner
property being leased through DreamHouse
which will be recorded
on the lease
< Supervises
1.2
0…1 Supervisor
0…10
Staff Registers >
Supervisee 1…1
0…1
BussinesOwner
Manages
0…1 <
BOwns
0…100 0…*
< 1…*
< Views 0…* Client
PropertyForRent
1…* 0…*
< 1…1 1…1 1…1
POwns
AssociatedWith Holds States
0…1 < < <
PrivateOwner 0…*
Lease
0…* 1…1 Preference
Entity Name Multiplicity Relationship Multiplicity Entity Name
Staff 0…1 Manages 0…100 PropertyForRent
0…1 Supervises 0…10 Staff
1…1 Registers 0…* Client
PropertyForRent 1…1 AssociatedWith 0…* Lease
Client 1…1 Holds 0…* Lease
1…1 States 1…1 Preference
0…* Views 0…* PropertyForRent
PrivateOwner 0…1 POwns 1…* PropertyForRent
BussinesOwner 0…1 BOwns 1…* PropertyForRent
1.3
Staff staffNo, name (composite: fName, IName), position, sex, DOB
PropertyForRent propertyNo, address (composite: street, city, postcode), type, rooms, rent
PrivateOwner ownerNo, name (composite: fName, IName), address, telNo
BusinessOwner ownerNo, bName, bType, address, telNo, contactName
Client clientNo, name (composite: fName, IName), telNo
Preference prefType, maxRent
Lease leaseNo, paymentMethod. deposit (derived as PropertyForRent.rent*2), depositPaid, rentStart, rentFinish, duration (derived as
rentFinish - rentStart)
1.4
Entity Name Attributes Description Data Type & lenght null Type of Attributes
Staff StaffNo Uniquely identifies a member of staff 5 variable character No Simple, single value
Name Composite, single value
fName First name of the staff 15 variable character No Simple, single value
lName Last name of the staff 15 variable character No Simple, single value
Position Job title of member staff 10 variable character No Simple, single value
Sex Gender of the staff 1 character (M or F) Yes Simple, single value
DOB Date of Birth of member of staff Date Yes Simple, single value
PropertyForRent propertyNo Uniquely identifies a property for rent 5 variable character No Simple, single value
address Composite, multi value
street the property's street name 20 variable character No Composite, multi value
city the city of origin of the property 20 variable character No Simple, single value
postcode the postcode of the property 7 variable character No simple, multi value
type the type of property being leased 20 variable character No Simple, single value
rooms tell the number of rooms Interger No Simple, single value
rent property rental prices string No Simple, single value
PrivateOwner OwnerNo Uniquely identifies a owner 5 variable character Simple, single value
Name Composite, single value
fName First name of owner 20 variable character Simple, single value
lName Last name of owner 20 variable character Simple, single value
address Owner address 20 variable character Composite, multi value
TelNo Owner telephone number String Simple, multi value
BussinesOwner OwnerNo Uniquely identifies a owner 5 variable character Simple, single value
bName Bussines name 20 variable character Simple, single value
bType The type of bussines 20 variable character Simple, single value
address The bussines address 20 variable character Composite, multi value
TelNo The company telephone number String Simple, multi value
contactName the name of the person in charge 20 variable character Simple, single value
Client clientNo Uniquely identifies a client 5 variable character Simple, single value
name Name of the client 20 variable character Simple, single value
telNo Client phone number String Simple, multi value
Preference prefType existing property type suggestions 20 variable character Simple, single value
maxRent total rental capacity String Simple, multi value
Lease leaseNo Uniquely identifies a lease 5 variable character Simple, single value
paymentMethode payment options with various methods 20 variable character Simple, single value
deposit money that has been included in the lease to be paid String Simple, multi value, derived
depositPaid payment with the deposit money String Simple, multi value
rentStart when the payment has been made it will appear rentstart Date Simple, single value
rentFinish when the payment has been made it will appear rentfinish Date Simple, single value
Duration to calculate how long the rental will be date Simple, single value, derived
1.5
Staff staffNo, name (composite: fName, IName), position, sex, DOB
Primary key staffNo
PropertyForRent propertyNo, address (composite: street, city, postcode), type, rooms, rent
Primary key propertyNo
Foreign key staffNo
Owner ownerNo, name (composite: fName, IName), address, telNo bName, bType, address, telNo, contactName
Primary key ownerNo
Foreign key PropertyNo
Client clientNo, name (composite: fName, IName), telNo
Primary key clientNo
Preference prefType, maxRent
Lease leaseNo, paymentMethod. deposit (derived as PropertyForRent.rent*2), depositPaid, rentStart, rentFinish, duration (derived as
rentFinish - rentStart)
Primary key leaseNo
< Supervises
0…1 Supervisor
0…10 Staff Registers >
Supervisee StaffNo 1…1
0…1
BussinesOwner
ownerNo
Manages
0…1 <
BOwns
0…100 0…*
< 1…* PropertyForRent Client
< Views 0…*
propertyNo 0…* clientNo
1…*
< 1…1 1…1 1…1
POwns viewDate
AssociatedWith Holds States
0…1 comment <
< <
PrivateOwner Preference
0…* Lease 0…* 1…1
ownerNo
leaseNo
1.6
Terjadinya enhanced modeling concepts yaitu owner memiliki sub class yaitu private dan bussines owner sedangkan owner menjadi superclass
1.7
Tidal terjadi redudansi dalam kasus ini
1.8
Supervisor
Supervises (a)
(b)
Staff Registers >
StaffNo
(e)
(d)
Manages
<
(f)
(h) (i)
owner PropertyForRent < Views Client
ownerNo propertyNo clientNo
(c) (g)
(j)
viewDate
AssociatedWith Holds States
(l) comment
< < <
BussinesOwner PrivateOwner Preference
Lease
ownerNo ownerNo
leaseNo
(k) (m)
2.1
2.1.1
Strong entity
Staff staffNo, name (composite: fName, IName), position, sex, DOB
Primary key staffNo
PropertyForRent propertyNo, address (composite: street, city, postcode), type, rooms, rent
Primary key propertyNo
Owner ownerNo, name (composite: fName, IName), address, telNo bName, bType, address, telNo, contactName
Primary key ownerNo
Client clientNo, name (composite: fName, IName), telNo
Primary key clientNo
Alternate key telNo
Lease leaseNo, paymentMethod. deposit (derived as PropertyForRent.rent*2), depositPaid, rentStart, rentFinish, duration (derived as
rentFinish - rentStart)
Primary key leaseNo
2.1.2
Week entity
Preference prefType, maxRent
2.1.3
1:*
Staff staffNo, name (composite: fName, IName), position, sex, DOB
Primary key staffNo
Client clientNo, name (composite: fName, IName), telNo
Primary key clientNo
Alternate key telNo
Foreign key staffNo reference staff(staffNo)
2.1.4
1:1
Client clientNo, name (composite: fName, IName), telNo
Primary key clientNo