18 | | 2. Stavka (**__stavkaid__**, **tipid***, **created_by***, **datum**, **broj**, **klientid***, **cena_osnovna**, **cena_ddv**, **cena_vkupno**) |
| 18 | 2. DDV (**__ddvid__**, **ddvval**) |
| 19 | |
| 20 | 3. Grad (**__gradid__**, **gradime**, postbroj) |
| 21 | |
| 22 | 4. Klient (**__klientid__**, **klientime**, adresa, **gradid***, phone, email, **edb**) |
| 23 | - * Референцира gradid од Grad |
| 24 | |
| 25 | 5. Tipdok (**__tipid__**, **tipime**) |
| 26 | |
| 27 | 6. Vraboteni (**__userid__**, **username**, **password**, **email**, displayname, isadmin) |
| 28 | |
| 29 | 7. Artikal (**__artikal_id__**, **sifra**, **artika_ime**, **cena**, **cenasoddv**, **ddvid***) |
| 30 | - * Референцира ddvid од Ddv |
| 31 | |
| 32 | 8. Zirosmetki (**__zirosmetkiid__**, **klientid***, **bankid***, **broj**) |
| 33 | - * Референцира klientid од Klient |
| 34 | - * Референцира bankid од Bank |
| 35 | |
| 36 | 9. Stavka (**__stavkaid__**, **tipid***, **created_by***, **datum**, **broj**, **klientid***, **cena_osnovna**, **cena_ddv**, **cena_vkupno**) |
25 | | |
26 | | 4. Artikal (**__artikal_id__**, **sifra**, **artika_ime**, **cena**, **cenasoddv**, **ddvid***) |
27 | | - * Референцира ddvid од Ddv |
28 | | |
29 | | 5. Ddv (**__ddvid__**, **ddvval**) |
30 | | |
31 | | 6. Vraboteni (**__userid__**, **username**, **password**, **email**, displayname, isadmin) |
32 | | |
33 | | 7. Klient (**__klientid__**, **klientime**, adresa, **gradid***, phone, email, **edb**) |
34 | | - * Референцира gradid од Grad |
35 | | |
36 | | 8. Grad (**__gradid__**, **gradime**, postbroj) |
37 | | |
38 | | 9. Zirosmetki (**__zirosmetkiid__**, **klientid***, **bankid***, **broj**) |
39 | | - * Референцира klientid од Klient |
40 | | - * Референцира bankid од Bank |
41 | | |
42 | | 10. Bank (**__bankid__**, **bankime**) |