wiki:RelationalDesign

Version 3 (modified by 193038, 3 years ago) ( diff )

--

Логички и физички дизајн

Релациска шема (со мапирачка трансформација)

  • Примарни клучеви - bold и underline
  • Надворешни клучеви: bold и * до името на надворешниот клуч, во заграда табелата кон која покажува
  • Останати атрибути: bold

User(user_id, name, surname, email, username, password)

Client(client_number_id)

Shipping_employee(shipping_employee_id)

Role(id_role, role_name, role_desc)

Online_stores(store_id, name, web_address, phone_number, email, social_media)

Shipping(shipping_id, location, date_from, date_to)

Payment(payment_id, info)

Category(category_id, category_name)

Store_employee(store_employee_id, store_id*(online_stores))

Catalogue(catalogue_id, catalogue_from, catalogue_to, type, store_id*(online_stores))

Shopping_bag(shopping_id, order_date, shipping_date, modified, client_number_id*(client))

Product_in_store(product_in_store_id, store_id*(online_stores), product_id*(product))

Product(product_id, name, in_store, size, color, category_id*(category))

Price(price_id, price, price_from, price_to, product_in_store_id*(product_in_store))

Works_as(id_role*(role), store_employee_id*(store_employee), works_from, works_to)

Carries(shipping_employee_id*(shipping_employee), shipping_id*(shipping))

Exists(catalogue_id*(catalogue),product_in_store_id*(product_in_store))

Order(shopping_id*(shopping_bag), product_in_store_id*(product_in_store))

Attachments (3)

Download all attachments as: .zip

Note: See TracWiki for help on using the wiki.