Changes between Version 29 and Version 30 of Логички и физички дизајн


Ignore:
Timestamp:
12/29/21 10:18:58 (3 years ago)
Author:
181207
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Логички и физички дизајн

    v29 v30  
    99----
    1010* User(**__User_id__, password**)
    11 * Distributor(**__user_id__***(user),**Name, Surname, Contact_number**)
     11* Distributor(**__user_id__***(User),**Name, Surname, Contact_number**)
    1212* 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))
    1414* 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)**)
    1616* Store(**__Store_name__,Location, Contact**)
    1717* Delivery (**__Delivery_id__, Delivery_address, Date, Status, User_id***(Distributor), **User_id***(Client))
    1818* Price_history (**__Price_history_id__, Price_history_list, Dates, Prod_id***(Product))
    1919* 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))
    2222* Configuration (**__Config_id__, Name, Price, Type**)
    2323* Payment (**__Payment_id__, CreditCard_number, Order_id***(Order))
     
    2727* contains_product (**Prod_id***(Product), **Cart_id***(Cart))
    2828* 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**)
    3030* orders_configuration  (**Order_id***(Order), **Config_id***(Configuration))
    3131* product_to_wishlist (**Prod_id***(Product), **Wishlist_id***(Wishlist))
    3232* config_to_whishlist(**Config_id***(Configuration), **Wishlist_id***(Wishlist))
    3333* 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**)
    3535
    3636== DDL скрипта за бришење на табелите и креирање на табелите