Changes between Version 3 and Version 4 of RelationalDesign
- Timestamp:
- 11/14/24 12:27:40 (7 days ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
RelationalDesign
v3 v4 5 5 == Табели 6 6 === Ентитети 7 * USER (__'''user_id'''__, user_name, user_surname, user_email, user_mobile_no, city_id*)7 * USERS (__'''user_id'''__, user_name, user_surname, user_email, user_mobile, city_id*) 8 8 * * референцира до CITY (city_id) 9 * VEHICLE (__'''vehicle_id'''__, vehicle_carry_weight, driver_id*, warehouse_id!**)9 * VEHICLE (__'''vehicle_id'''__, vehicle_carry_weight, vehicle_service_interval, vehicle_kilometers, vehicle_last_service, driver_id*, warehouse_id!**) 10 10 * * референцира до DRIVER (user_id) 11 11 * !** референцира до WAREHOUSE (warehouse_id) … … 16 16 * ARTICLE (__'''article_id'''__, article_price, article_image, article_name, article_weight, category_id*) 17 17 * * референцира до CATEGORY (category_id) 18 * ORDERS (__'''order_id'''__, order_date _created, order_status, delivery_id*, pro_forma_id!**)18 * ORDERS (__'''order_id'''__, order_date, order_status, order_sum, order_fulfillment_date, delivery_id*, pro_forma_id!**, customer_id!***) 19 19 * * референцира до DELIVERY (delivery_id) 20 20 * !** референцира до PRO_FORMA (pro_forma_id) 21 * !*** референцира до CUSTOMER(user_id) 21 22 * CITY (__'''city_id'''__, city_name) 22 23 * MANAGER (__'''user_id*''''__, warehouse_id!**) 23 24 * * референцира до USER (user_id) 24 25 * !** референцира до WAREHOUSE (warehouse_id) 25 * CUSTOMER (__'''user_id*''''__, customer_EDB, customer_company_name, customer_address, customer_ working_hours, customer_representative_image)26 * CUSTOMER (__'''user_id*''''__, customer_EDB, customer_company_name, customer_address, customer_open_time, customer_close_time, customer_representative_image) 26 27 * * референцира до USER (user_id) 27 28 * DRIVER (__'''user_id*''''__, vehicle_id!**) … … 32 33 * !** референцира до CITY (city_id) 33 34 * CATEGORY (__'''category_id'''__, category_name) 34 * ARTICLE_UNIT (__ '''article_id*''''__, order_id!**)35 * ARTICLE_UNIT (__**unit_id**__, unit_expiration_date, unit_serial_number, unit_batch_number, unit_manufacture_date, unit_cost_price, article_id*, order_id!**) 35 36 * * референцира до ARTICLE (article_id) 36 37 * !** референцира до ORDERS (order_id) 37 38 === Релации 38 * WAREHOUSE_LOCATION (__'''warehouse_id*, city_id!**''''__) 39 * * референцира до WAREHOUSE (warehouse_id) 40 * !** референцира до CITY (city_id) 41 * IN_STOCK (__'''city_id*, warehouse_id!**''''__) 39 * IN_STOCK (__'''city_id*, warehouse_id!**'''__) 42 40 * * референцира до CITY (city_id) 43 41 * !** референцира до WAREHOUSE (warehouse_id)