WIP feature/listedArticles #15

Merged
Seil0 merged 33 commits from feature/listedArticles into master 2020-05-15 19:48:22 +02:00
1 changed files with 14 additions and 13 deletions
Showing only changes of commit b1840dd845 - Show all commits

View File

@ -131,6 +131,20 @@ public class InternArticleController {
public static class UImodelArticle { public static class UImodelArticle {
public String imgPath;
public String title;
public String price;
public String price_netto;
public String reorderMaxPrice;
public String categorie;
public int stock;
public long offer_id;
public long id;
public boolean shouldReorder;
public String warehouseUnitsPerSlot;
public String description;
public String getImgPath() { public String getImgPath() {
return imgPath; return imgPath;
} }
@ -227,19 +241,6 @@ public class InternArticleController {
this.description = description; this.description = description;
Outdated
Review

Variablen Dekleration vor setter/getter? (Ich hab keine Ahnung ob wir da was ausgemacht haben)

Variablen Dekleration vor setter/getter? (Ich hab keine Ahnung ob wir da was ausgemacht haben)

ist ja ne ui model klasse die nur in diesem controller gebraucht wird. Wenn es keine Getter+Setter gibt werden die auch nicht gebraucht.

ist ja ne ui model klasse die nur in diesem controller gebraucht wird. Wenn es keine Getter+Setter gibt werden die auch nicht gebraucht.
Outdated
Review

Dann passt's so

Dann passt's so
Review

fixed with b1840dd845

fixed with https://git.mosad.xyz/localhorst/e-commerce/commit/b1840dd84529acb8d4949913b35e1c1aea821b00
} }
public String imgPath;
public String title;
public String price;
public String price_netto;
public String reorderMaxPrice;
public String categorie;
public int stock;
public long offer_id;
public long id;
public boolean shouldReorder;
public String warehouseUnitsPerSlot;
public String description;
void addArticle(Article article, int stock) { void addArticle(Article article, int stock) {
this.imgPath = article.image.path; this.imgPath = article.image.path;
this.title = article.title; this.title = article.title;