Answer the question
In order to leave comments, you need to log in
How to model order system in UML?
Hello. There was such task: to model system of orders on UML:
But a problem that I at all do not understand how it should look. I know how, for example, to do this task: "Employees work in departments. Each employee can hold one or more positions. Each position has its own salary rate," but I didn’t even find examples for my task. I ask for help, can anyone give a tip on how to draw it up, or give a link to the literature? I will be very grateful.
Answer the question
In order to leave comments, you need to log in
M2M en.wikipedia.org/wiki/Many-to-many_ (data_model)
foreignKey =
one to many
Список_статусов:
название = (Доставлено, Готовится, ...)
Заказчик:
имя = текст
....
Продукт:
название = текст
....
Заказ:
заказчик = м2м(Заказчик) // много заказчиков у которых много заказов
статус = foreignKey(Список_статусов) // один статус у многих заказов
продукт = foreignKey(Продукт) // один продукт во многих заказах
количество = Integer
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question