24 Commits (563254c7251c1a5dedae3bb62c55e8d5ff0ca732)

Author SHA1 Message Date
KKlochko 563254c725 Add getItem to Cart model.
2 years ago
KKlochko e91b808a0f Add a method to check that an item in a cart.
2 years ago
KKlochko 73b45084b7 Refactor the Cart method names.
2 years ago
KKlochko a7dbea1d79 Add getCategory, getCompany, isBelong methods to Item model.
2 years ago
KKlochko aedb4d5949 Add the validation for Item that returns message for requests.
2 years ago
KKlochko 3eff14173b Add getters to Cart model to get its City or Company.
2 years ago
KKlochko e0ec4f1efa Add foreign keys to field in Category, Item models.
2 years ago
KKlochko 3fe7287e06 Refactor the Cart model.
2 years ago
KKlochko d90f017cbe Add the getItemIds in the Cart to get ids of items.
2 years ago
KKlochko a8559a52c6 Add the setCompany method in the Cart model.
2 years ago
KKlochko fd4a37c36a Add the validation for Company that returns message for requests.
2 years ago
KKlochko 76f6c699aa Fix the method, isEmpty, in the Cart model.
2 years ago
KKlochko 0c2f6355cf Add methods to add and remove Items from a Cart.
2 years ago
KKlochko 2d4fb6a59b Add the validation for City, User that returns message for requests.
2 years ago
KKlochko 814eb18028 Update the setCity method in the Cart model.
2 years ago
KKlochko ea120c8c9c Update User, Cart models.
2 years ago
KKlochko 4a4d5e7335 Add Cart model, resource and its API, Pivot table with Items.
2 years ago
KKlochko ea363b956e Update User class.
2 years ago
KKlochko 18bd849827 Added Item model, resource and its API.
2 years ago
KKlochko b5a264d92f Added Category model, resource and its API.
2 years ago
KKlochko 2dc7893eb3 Added Company model, resource and its API.
2 years ago
KKlochko 1dcf619555 Updated City Model and Resource.
2 years ago
KKlochko 6d0423fa34 Added City model, resource and its API.
2 years ago
KKlochko 15f16db37c Project initialization.
2 years ago