Structured entity relationship model: Difference between revisions

Content deleted Content added
No edit summary
KateH (talk | contribs)
m copy edits
Line 16:
 
* [[Customer|Customer]] and article are independent entities
* Every order is referedreferred to one customer. Orders without [[Customer|customers]] are illegal (order is an ER Type). [[Customer|Customers]] without any orders are legal because they are independent Entities.
* To every order there is belonging at least one order item.
* Every order item is related to exactly one order.
* Every invoice is referedreferred to one [[Customer|customer]], as well. Invoices without [[Customer|customers]] are illegal. [[Customer|Customers]] without any invoice are legal.
* To every invoice there is belonging at least one invoice line item.
* Every invoice line item is related to exactly order item. An order item could be calculated or not.