Changes between Version 14 and Version 15 of Логички и физички дизајн
- Timestamp:
- 12/28/21 14:54:13 (3 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Логички и физички дизајн
v14 v15 8 8 9 9 ---- 10 User(**__User_id__, password**) 11 12 Client(**__user_id__***(User),**Name, Adress, Email, Wishlist_id***(Wishlist)) 13 14 view_product (**User_id***(Client), **Prod_id***(Product), **Time_stamp**) 15 16 Seller_Admin(**__user_id__***(User),N**ame,Surname,E-mail, User_id***(Admin), **Store_name***(Store)) 17 18 updates (**Prod_id***(Product), **User_id***(Seller_Admin), **Time_stamp**) 19 20 Distributor(**__user_id__***(user),**Name, Surname, Contact_number**) 21 10 22 Admin(**__user_id__***(User)) 23 24 Product (**__Prod_id__, Availability, Name, Price, Type, Description, quantity, Store_name***(Store), **Wishlist_id***(Wishlist)) 25 26 contains_product (**Prod_id***(Product), **Cart_id***(Cart)) 27 28 Whishlist (**__Wishlist_id__**, Config_list, Product_list) 29 30 Store(**__Store_name__,Location, Contact**) 11 31 12 32 Cart(**__Cart_id__,Config_list, Product_list**) 13 33 14 Checkout(**cart_id***(Cart), **Order-id***(Order))34 contains_config (**Config_id***(Configuration),** Cart_id***(Cart)) 15 35 16 Client(**__user_id__***(User),**Name, Adress, Email, Wishlist_id***(Wishlist)) 36 Order (**__Order_id__, Total_price, Order_status, Delivery_id***(Delivery)) 37 38 current_price (**Price_history_id***(Price_history), **Order_id***(Order)) 39 40 Configuration (**__Config_id__, Name, Price, Type**) 17 41 18 42 Config_to_whishlist(**Config_id***(Configuration), **Wishlist_id***(Wishlist)) 19 43 20 Configuration (**__Config_id__, Name, Price, Type**) 44 Price_history (**__Price_history_id__, Price_history_list, Dates, Prod_id***(Product)) 45 46 Payment (**__Payment_id__, CreditCard_number, Order_id***(Order)) 47 48 Checkout(**cart_id***(Cart), **Order-id***(Order)) 21 49 22 50 Contains (**Prod_id***(Product), **Config_id***(Configuration)) 23 51 24 contains_config (**Config_id***(Configuration),** Cart_id***(Cart))25 26 contains_product (**Prod_id***(Product), **Cart_id***(Cart))27 28 current_price (**Price_history_id***(Price_history), **Order_id***(Order))29 30 52 Delivery (**__Delivery_id__, Delivery_address, Date, Status, User_id***(Distributor), **User_id***(Client)) 31 32 Distributor(**__user_id__***(user),**Name, Surname, Contact_number**)33 53 34 54 manages_configuration (**Config_id***(Configuration),** User_id***(Admin)) 35 55 36 Order (**__Order_id__, Total_price, Order_status, Delivery_id***(Delivery))37 38 56 Orders_configuration (**Order_id***(Order), **Config_id***(Configuration)) 39 40 Payment (**__Payment_id__, CreditCard_number, Order_id***(Order))41 42 Price_history (**__Price_history_id__, Price_history_list, Dates, Prod_id***(Product))43 44 Product (**__Prod_id__, Availability, Name, Price, Type, Description, quantity, Store_name***(Store), **Wishlist_id***(Wishlist))45 46 Seller_Admin(**__user_id__***(User),N**ame,Surname,E-mail, User_id***(Admin), **Store_name***(Store))47 48 Store(**__Store_name__,Location, Contact**)49 50 updates (**Prod_id***(Product), **User_id***(Seller_Admin), **Time_stamp**)51 52 User(**__User_id__, password**)53 57 54 58 view_product (**User_id***(Client), **Prod_id***(Product), **Time_stamp**) 55 59 56 Whishlist (**__Wishlist_id__**, Config_list, Product_list)57 60 58 59 60 61 == Релациски дијаграм од DBeaver 61 62 [[Image(DDL1.png)]]