Version 3 (modified by 2 years ago) ( diff ) | ,
---|
Логички и физички дизајн
==Релациска шема
BOLD=not null Underline = Primary Key
- - takes from
Faculty(FacultyID,CityName*(City),Fname)
Building(BuildingID,CityName*(City),Building_Adress)
City(CityName)
Apartment(ApartmentID, BuildingID*(Building),UserID*(Owner),Aparment_Adress,Size)
ApartmentAgreement(AgreementID, ApartmentID*(Apartment),UserID*(Owner), Date_Signed,Date_Expires,ApartmentRent)
User(UserID,Name,Surname,Password,Phone_Number,City_of_Residency)
Post(PID, CityName*(City), Num_Roomates, Price, Date_Posted, Description)
Apartment_photos(PID,Apartment_photos)
Admin(UserID*(User), Role)
Owner(UserID*(User))
Student(UserID*(User),FacultyID*(Faculty),Age,Gender)
StudentPost(PID*(Post),UserID*(Student))
OwnerPost(PID*(Post), ApartmentID*(Apartment),UserID(Owner),Apartment_photos)
Moderates_Posts_For(CityName*(City),UserID*(Admin))
Student_Signs(UserID*(Student),AgreementID*(Agreement))
Attachments (12)
- Mapiracka translacija.odt (15.0 KB ) - added by 2 years ago.
- sql insert script.sql (3.4 KB ) - added by 2 years ago.
- DbeaverRD.png (59.8 KB ) - added by 2 years ago.
- kreiranjev2.sql (2.7 KB ) - added by 2 years ago.
- kreiranje.sql (2.7 KB ) - added by 2 years ago.
- vnesuvanje.sql (3.4 KB ) - added by 2 years ago.
- DBeaverRD.JPG (105.8 KB ) - added by 2 years ago.
- DBeaverRD.png (105.8 KB ) - added by 2 years ago.
- Diagram.JPG (107.3 KB ) - added by 18 months ago.
- vnesuvanjenew.sql (3.7 KB ) - added by 18 months ago.
- kireiranjenew.sql (2.8 KB ) - added by 18 months ago.
- kreiranjenew.sql (2.8 KB ) - added by 18 months ago.
Download all attachments as: .zip