Changes between Version 2 and Version 3 of RelationalDesign


Ignore:
Timestamp:
12/20/22 21:20:47 (19 months ago)
Author:
201087
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • RelationalDesign

    v2 v3  
    11= Логички и физички дизајн
     2
     3==Релациска шема
     4
     5BOLD=not null
     6Underline = Primary Key
     7* - takes from
     8
     9Faculty(FacultyID,CityName*(City),Fname)
     10
     11Building(BuildingID,CityName*(City),Building_Adress)
     12
     13City(CityName)
     14
     15Apartment(ApartmentID, BuildingID*(Building),UserID*(Owner),Aparment_Adress,Size)
     16
     17ApartmentAgreement(AgreementID, ApartmentID*(Apartment),UserID*(Owner), Date_Signed,Date_Expires,ApartmentRent)
     18
     19User(UserID,Name,Surname,Password,Phone_Number,City_of_Residency)
     20
     21Post(PID, CityName*(City), Num_Roomates, Price, Date_Posted, Description)
     22
     23Apartment_photos(PID,Apartment_photos)
     24
     25Admin(UserID*(User), Role)
     26
     27Owner(UserID*(User))
     28
     29Student(UserID*(User),FacultyID*(Faculty),Age,Gender)
     30
     31StudentPost(PID*(Post),UserID*(Student))
     32
     33OwnerPost(PID*(Post), ApartmentID*(Apartment),UserID(Owner),Apartment_photos)
     34
     35Moderates_Posts_For(CityName*(City),UserID*(Admin))
     36
     37Student_Signs(UserID*(Student),AgreementID*(Agreement))
     38