| | 11 | //Users// (**__userId__**, **firstName**, **lastName**, **username**, **email**, **password**)\\ |
| | 12 | \\ |
| | 13 | //Workers// (**__userId*__**, locationId$) |
| | 14 | * * референцира userId од Users\\ |
| | 15 | * $ референцира locationId од Locations |
| | 16 | //Managers// (**__userId*__**) |
| | 17 | * * референцира userId од Users |
| | 18 | //Suppliers// (**__userId*__**, **phone**, **supplierInfo**, **street**, **number**, **city**) |
| | 19 | * * референцира userId од Users |
| | 20 | //Articles// (**__articleId__**, **description**, **name**, imageURL, **maxQuantityPerLocation**)\\ |
| | 21 | \\ |
| | 22 | //Invoices// (**__invoiceId__**, customerName, customerPhone, street, number, city, **dateCreated**, **workerUserId***) |
| | 23 | * * референцира userId од Workers |
| | 24 | //Orders// (**__orderId__**, **status**, supplierRemark, managerRemark, **dateCreated**, dateApproved, dateDelivered, **priority**, **managerUserId***, **supplierUserId$**) |
| | 25 | * * референцира userId од Managers |
| | 26 | * $ референцира userId од Suppliers |
| | 27 | //Categories// (**__categoryId__**, **name**, **description**) |
| | 28 | //Locations// (**__locationId__**, **name**, **phone**, **street, **number**, **city**)\\ |
| | 29 | \\ |
| | 30 | //Questions// (**__questionId__**, **text**, **dateCreated**, **workerUserId***, **managerUserId$**) |
| | 31 | * * референцира userId од Workers |
| | 32 | * $ референцира userId од Manager |
| | 33 | //StoredArticles// (**__sArticleId__**, **quantity**, **locationId***, **articleId$**) |
| | 34 | * * референцира locationId од Locations |
| | 35 | * $ референцира articleId од Articles |
| | 36 | //InovicedArticles// (**__iArticleId__**, **price**, **quantity**, **invoiceId***, **articleId$**) |
| | 37 | * * референцира invoiceId од Invoices |
| | 38 | * $ референцира articleId од Articles |
| | 39 | //OrderedArticles// (**__oArticleId__**, price, **quantity**, **orderId***, **articleId$**, **locationId'**) |
| | 40 | * * референцира orderId од Orders |
| | 41 | * $ референцира articleId од Articles |
| | 42 | * ' референцира locationId од Locations |
| | 43 | //Answers// (**__answerId__**, **questionId***, **text**, **dateCreated**) |
| | 44 | * * референцира questionId од Questions |
| | 45 | //Question_availability_for_StoredArticle// (**__questionId*__**, **__sArticleId$__**) |
| | 46 | * * референцира questionId од Questions |
| | 47 | * $ референцира sArticleId од !StoredArticles |
| | 48 | //Article_belongs_to_Category// (**__articleId*__**, **__categoryId$__**) |
| | 49 | * * референцира articleId од Articles |
| | 50 | * $ референцира categoryId од Categories |
| | 51 | //Supplier_supplies_Category// (**__userId*__**, **__categoryId$__**) |
| | 52 | * * референцира userId од Supplier |
| | 53 | * $ референцира categoryId од Categories |