Changes between Initial Version and Version 1 of RelationalDesign


Ignore:
Timestamp:
02/01/22 03:01:55 (3 years ago)
Author:
193047
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • RelationalDesign

    v1 v1  
     1''Релациска шема (со мапирачка трансформација)''
     2----
     3
     4
     5{{{
     6
     7Регуларни ентитети: Person,  Employee, Member, SchoolType, MemberShipType, Price, Library, Room, Genre, Review, Writer
     8Слаби ентитети: OnlineDownload, ReservationBook, Book, ReservationPlace
     9
     10Примарни клучеви: underline and bold
     11Надворешни клучеви*: bold, со ознака * и до нив стои во заграда на која табела покажуваат
     12Not null атрибути: bold
     13}}}
     14
     15
     16----
     17
     18Person ( **id_person**, **name**,** surname**, address, town, **phone_num**)
     19Employee (**id_person***(Person), **id_library***(Library), **position**)
     20Member (**id_person***(Person), **id_school***(SchoolType), **id_membership***(MembershipType), **id_library ***(Library), **birth**, **email**, **pass**)
     21Library (**id_library**, **name**, **city**)
     22SchoolType (**id_school**, **id_membership***(MemberShipType), **primary**,** high_school**, **other**)
     23MembershipType (**id_membership**, **id_school***(SchoolType), **month**, **year**)
     24Price (**id_price**, **id_membership***(MemberShipType), **month_price**,** year_price**, **primary_price**, **highSchool_price**)
     25Genre (**id_genre**, **id_book***(Book), **name**)
     26Writer (**id_writer**, **id_book***(Book),** name**)
     27Review (**id_review**, **id_book***(Book), **rate**, **rent_num**)
     28Room (**id_room**, **id_library***(Library), **places**, **free_places**)
     29OnlineDownload (**id_onlineDown**, **id_book***(Book), **id_person_member***(Member)),
     30ReservationBook (**id_resBook**, **id_book***(Book), **is_person_member***(Member), **take_date**, **return_date**)
     31Book (**id_book**, **id_writer***(Writer), **id_library***(Library), **name**, **book_num**, **if_free**, **book_price**, **book_price_late**)
     32ReservationPlace (**id_resRoom**, **id_room***(Room),** id_person_member***(Member),** date**, **duration**)
     33
     34Membership_of_SchoolType(**id_membership***(MembershipType), **id_school***(SchoolType))
     35Who_Wrote_Book (**id_book***(Book), **id_writer***(Writer))
     36
     37
     38----
     39
     40**DDL скрипта за креирање и бришење на табелите**''''
     41----
     42
     43