9 | | *Faculty(FacultyID,CityName*(City),Fname) |
10 | | *Building(BuildingID,CityName*(City),Building_Adress) |
11 | | *City(CityName) |
12 | | *Apartment(ApartmentID, BuildingID*(Building),UserID*(Owner),Aparment_Adress,Size) |
13 | | *ApartmentAgreement(AgreementID, ApartmentID*(Apartment),UserID*(Owner), Date_Signed,Date_Expires,ApartmentRent) |
14 | | *User(UserID,Name,Surname,Password,Phone_Number,City_of_Residency) |
15 | | *Post(PID, CityName*(City), Num_Roomates, Price, Date_Posted, Description) |
16 | | *Apartment_photos(PID,Apartment_photos) |
17 | | *Admin(UserID*(User), Role) |
18 | | *Owner(UserID*(User)) |
19 | | *Student(UserID*(User),FacultyID*(Faculty),Age,Gender) |
| 9 | * Faculty(FacultyID,CityName*(City),Fname) |
| 10 | * Building(BuildingID,CityName*(City),Building_Adress) |
| 11 | * City(CityName) |
| 12 | * Apartment(ApartmentID, BuildingID*(Building),UserID*(Owner),Aparment_Adress,Size) |
| 13 | * ApartmentAgreement(AgreementID, ApartmentID*(Apartment),UserID*(Owner), Date_Signed,Date_Expires,ApartmentRent) |
| 14 | * User(UserID,Name,Surname,Password,Phone_Number,City_of_Residency) |
| 15 | * Post(PID, CityName*(City), Num_Roomates, Price, Date_Posted, Description) |
| 16 | * Apartment_photos(PID,Apartment_photos) |
| 17 | * Admin(UserID*(User), Role) |
| 18 | * Owner(UserID*(User)) |
| 19 | * Student(UserID*(User),FacultyID*(Faculty),Age,Gender) |
| 20 | * StudentPost(PID*(Post),UserID*(Student)) |
| 21 | * OwnerPost(PID*(Post), ApartmentID*(Apartment),UserID(Owner),Apartment_photos) |
| 22 | * Moderates_Posts_For(CityName*(City),UserID*(Admin)) |
| 23 | * Student_Signs(UserID*(Student),AgreementID*(Agreement)) |