= Логички и физички дизајн == Релациска шема (мапирачка трансформација) * Примарни клучеви: bold и underline * Надворешни клучеви: bold и * до името на надворешниот клуч, во заграда табелата кон која покажува * Not null атрибути: bold ---- User(**__User_id__, password**) Client(**__user_id__***(User),**Name, Adress, Email, Wishlist_id***(Wishlist)) view_product (**User_id***(Client), **Prod_id***(Product), **Time_stamp**) Seller_Admin(**__user_id__***(User),N**ame,Surname,E-mail, User_id***(Admin), **Store_name***(Store)) updates (**Prod_id***(Product), **User_id***(Seller_Admin), **Time_stamp**) Distributor(**__user_id__***(user),**Name, Surname, Contact_number**) Admin(**__user_id__***(User)) manages_configuration (**Config_id***(Configuration),** User_id***(Admin)) Product (**__Prod_id__, Availability, Name, Price, Type, Description, quantity, Store_name***(Store), **Wishlist_id***(Wishlist)) contains_product (**Prod_id***(Product), **Cart_id***(Cart)) Whishlist (**__Wishlist_id__**, Config_list, Product_list) Store(**__Store_name__,Location, Contact**) Cart(**__Cart_id__,Config_list, Product_list**) contains_config (**Config_id***(Configuration),** Cart_id***(Cart)) Order (**__Order_id__, Total_price, Order_status, Delivery_id***(Delivery)) current_price (**Price_history_id***(Price_history), **Order_id***(Order)) Orders_configuration (**Order_id***(Order), **Config_id***(Configuration)) Configuration (**__Config_id__, Name, Price, Type**) Config_to_whishlist(**Config_id***(Configuration), **Wishlist_id***(Wishlist)) Price_history (**__Price_history_id__, Price_history_list, Dates, Prod_id***(Product)) Payment (**__Payment_id__, CreditCard_number, Order_id***(Order)) Checkout(**cart_id***(Cart), **Order-id***(Order)) Contains (**Prod_id***(Product), **Config_id***(Configuration)) Delivery (**__Delivery_id__, Delivery_address, Date, Status, User_id***(Distributor), **User_id***(Client)) == Релациски дијаграм од DBeaver [[Image(DDL1.png)]]