Changes between Version 29 and Version 30 of Логички и физички дизајн
- Timestamp:
- 12/29/21 10:18:58 (3 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Логички и физички дизајн
v29 v30 9 9 ---- 10 10 * User(**__User_id__, password**) 11 * Distributor(**__user_id__***( user),**Name, Surname, Contact_number**)11 * Distributor(**__user_id__***(User),**Name, Surname, Contact_number**) 12 12 * Client(**__user_id__***(User),**Name, Adress, Email) 13 * Seller_Admin(**__user_id__***(User), N**ame,Surname,E-mail, User_id***(Admin), **Store_name***(Store))13 * Seller_Admin(**__user_id__***(User),**Name,Surname,E-mail, User_id***(Admin), **Store_name***(Store)) 14 14 * Admin(**__user_id__***(User)) 15 * Product (**__Prod_id__, Availability, Name, Price, Type, Description, quantity, Store_name***(Store) , **Wishlist_id***(Wishlist))15 * Product (**__Prod_id__, Availability, Name, Price, Type, Description, quantity, Store_name***(Store)**) 16 16 * Store(**__Store_name__,Location, Contact**) 17 17 * Delivery (**__Delivery_id__, Delivery_address, Date, Status, User_id***(Distributor), **User_id***(Client)) 18 18 * Price_history (**__Price_history_id__, Price_history_list, Dates, Prod_id***(Product)) 19 19 * Wishlist (**__Wishlist_id__**, Config_list, Product_list, **user_id***(Client)) 20 * Cart(**__Cart_id__,Config_list, Product_list **)21 * Order (**__Order_id__, Total_price, Order_status, Delivery_id***(Delivery) )20 * Cart(**__Cart_id__,Config_list, Product_list, user_id***(Client)) 21 * Order (**__Order_id__, Total_price, Order_status, Delivery_id***(Delivery), **user_id***(Client)) 22 22 * Configuration (**__Config_id__, Name, Price, Type**) 23 23 * Payment (**__Payment_id__, CreditCard_number, Order_id***(Order)) … … 27 27 * contains_product (**Prod_id***(Product), **Cart_id***(Cart)) 28 28 * contains_config (**Config_id***(Configuration),** Cart_id***(Cart)) 29 * current_price (**Price_history_id***(Price_history), **Order_id***(Order) )29 * current_price (**Price_history_id***(Price_history), **Order_id***(Order), **num_products**) 30 30 * orders_configuration (**Order_id***(Order), **Config_id***(Configuration)) 31 31 * product_to_wishlist (**Prod_id***(Product), **Wishlist_id***(Wishlist)) 32 32 * config_to_whishlist(**Config_id***(Configuration), **Wishlist_id***(Wishlist)) 33 33 * checkout(**cart_id***(Cart), **Order-id***(Order)) 34 * config_contains_product(**Prod_id***(Product), **Config_id***(Configuration) )34 * config_contains_product(**Prod_id***(Product), **Config_id***(Configuration), **num_products_config**) 35 35 36 36 == DDL скрипта за бришење на табелите и креирање на табелите