wiki:Логички и физички дизајн

Version 17 (modified by 183139, 3 years ago) ( diff )

--

Логички и физички дизајн

Релациска шема (мапирачка трансформација)

  • Примарни клучеви: bold и underline
  • Надворешни клучеви: bold и * до името на надворешниот клуч, во заграда табелата кон која покажува
  • Not null атрибути: bold

User(User_id, password)

Distributor(user_id*(user),Name, Surname, Contact_number)

Client(user_id*(User),Name, Adress, Email, Wishlist_id*(Wishlist))

Seller_Admin(user_id*(User),Name,Surname,E-mail, User_id*(Admin), Store_name*(Store))

Admin(user_id*(User))

Product (Prod_id, Availability, Name, Price, Type, Description, quantity, Store_name*(Store), Wishlist_id*(Wishlist))

Store(Store_name,Location, Contact)

Delivery (Delivery_id, Delivery_address, Date, Status, User_id*(Distributor), User_id*(Client))

Price_history (Price_history_id, Price_history_list, Dates, Prod_id*(Product))

Whishlist (Wishlist_id, Config_list, Product_list)

Cart(Cart_id,Config_list, Product_list)

Order (Order_id, Total_price, Order_status, Delivery_id*(Delivery))

Configuration (Config_id, Name, Price, Type)

Payment (Payment_id, CreditCard_number, Order_id*(Order))

view_product (User_id*(Client), Prod_id*(Product), Time_stamp)

updates (Prod_id*(Product), User_id*(Seller_Admin), Time_stamp)

manages_configuration (Config_id*(Configuration), User_id*(Admin))

contains_product (Prod_id*(Product), Cart_id*(Cart))

contains_config (Config_id*(Configuration), Cart_id*(Cart))

current_price (Price_history_id*(Price_history), Order_id*(Order))

orders_configuration (Order_id*(Order), Config_id*(Configuration))

oonfig_to_whishlist(Config_id*(Configuration), Wishlist_id*(Wishlist))

checkout(cart_id*(Cart), Order-id*(Order))

config_contains_product(Prod_id*(Product), Config_id*(Configuration))

Релациски дијаграм од DBeaver

Attachments (14)

Download all attachments as: .zip

Note: See TracWiki for help on using the wiki.