From 1186c390fb9295a7190e37d76afe96c75543558d Mon Sep 17 00:00:00 2001 From: CodeSteak Date: Tue, 28 Apr 2020 21:02:33 +0200 Subject: [PATCH 1/3] Implement Entries // TODO: Move to packages, add Repos. --- .../org/hso/ecommerce/entities/Address.java | 10 +++++ .../org/hso/ecommerce/entities/Article.java | 38 ++++++++++++++++ .../hso/ecommerce/entities/ArticleOffer.java | 22 ++++++++++ .../hso/ecommerce/entities/BackgroundJob.java | 23 ++++++++++ .../org/hso/ecommerce/entities/Booking.java | 25 +++++++++++ .../entities/BookingAccountEntry.java | 25 +++++++++++ .../hso/ecommerce/entities/BookingReason.java | 27 ++++++++++++ .../org/hso/ecommerce/entities/Category.java | 23 ++++++++++ .../hso/ecommerce/entities/CustomerOrder.java | 44 +++++++++++++++++++ .../entities/CustomerOrderPosition.java | 22 ++++++++++ .../ecommerce/entities/CustomerPayment.java | 18 ++++++++ .../ecommerce/entities/DashboardSummary.java | 25 +++++++++++ .../org/hso/ecommerce/entities/Image.java | 17 +++++++ .../hso/ecommerce/entities/PaymentMethod.java | 10 +++++ .../org/hso/ecommerce/entities/Supplier.java | 23 ++++++++++ .../hso/ecommerce/entities/SupplierOrder.java | 37 ++++++++++++++++ .../java/org/hso/ecommerce/entities/User.java | 13 +++++- .../ecommerce/entities/WarehouseBooking.java | 27 ++++++++++++ .../entities/WarehouseBookingPosition.java | 30 +++++++++++++ .../WarehouseBookingPositionSlotEntry.java | 21 +++++++++ .../entities/WarehouseBookingReason.java | 23 ++++++++++ 21 files changed, 501 insertions(+), 2 deletions(-) create mode 100644 prototype/src/main/java/org/hso/ecommerce/entities/Address.java create mode 100644 prototype/src/main/java/org/hso/ecommerce/entities/Article.java create mode 100644 prototype/src/main/java/org/hso/ecommerce/entities/ArticleOffer.java create mode 100644 prototype/src/main/java/org/hso/ecommerce/entities/BackgroundJob.java create mode 100644 prototype/src/main/java/org/hso/ecommerce/entities/Booking.java create mode 100644 prototype/src/main/java/org/hso/ecommerce/entities/BookingAccountEntry.java create mode 100644 prototype/src/main/java/org/hso/ecommerce/entities/BookingReason.java create mode 100644 prototype/src/main/java/org/hso/ecommerce/entities/Category.java create mode 100644 prototype/src/main/java/org/hso/ecommerce/entities/CustomerOrder.java create mode 100644 prototype/src/main/java/org/hso/ecommerce/entities/CustomerOrderPosition.java create mode 100644 prototype/src/main/java/org/hso/ecommerce/entities/CustomerPayment.java create mode 100644 prototype/src/main/java/org/hso/ecommerce/entities/DashboardSummary.java create mode 100644 prototype/src/main/java/org/hso/ecommerce/entities/Image.java create mode 100644 prototype/src/main/java/org/hso/ecommerce/entities/PaymentMethod.java create mode 100644 prototype/src/main/java/org/hso/ecommerce/entities/Supplier.java create mode 100644 prototype/src/main/java/org/hso/ecommerce/entities/SupplierOrder.java create mode 100644 prototype/src/main/java/org/hso/ecommerce/entities/WarehouseBooking.java create mode 100644 prototype/src/main/java/org/hso/ecommerce/entities/WarehouseBookingPosition.java create mode 100644 prototype/src/main/java/org/hso/ecommerce/entities/WarehouseBookingPositionSlotEntry.java create mode 100644 prototype/src/main/java/org/hso/ecommerce/entities/WarehouseBookingReason.java diff --git a/prototype/src/main/java/org/hso/ecommerce/entities/Address.java b/prototype/src/main/java/org/hso/ecommerce/entities/Address.java new file mode 100644 index 0000000..ecd4b35 --- /dev/null +++ b/prototype/src/main/java/org/hso/ecommerce/entities/Address.java @@ -0,0 +1,10 @@ +package org.hso.ecommerce.entities; + +import javax.persistence.Embeddable; + +@Embeddable +public class Address { + public String name; + public String addressString; + public String country = "DE"; +} diff --git a/prototype/src/main/java/org/hso/ecommerce/entities/Article.java b/prototype/src/main/java/org/hso/ecommerce/entities/Article.java new file mode 100644 index 0000000..23c0209 --- /dev/null +++ b/prototype/src/main/java/org/hso/ecommerce/entities/Article.java @@ -0,0 +1,38 @@ +package org.hso.ecommerce.entities; + +import javax.persistence.*; +import javax.validation.constraints.NotNull; +import java.util.HashSet; +import java.util.Set; + +@Entity +@Table(name = "articles") +public class Article { + + @Id + @GeneratedValue(strategy = GenerationType.IDENTITY) + @Basic + public long id; + + @ManyToOne(optional = false) + public ArticleOffer related; + + public int shopPricePerUnitNetCent; + public int warehouseUnitsPerSlot; + + public boolean shouldReorder; + public int reorderMaxPrice; + + @NotNull + public String title; + + @NotNull + public String description; + + @OneToOne(optional = true) + public Image image; + + @ManyToMany + @JoinTable(name = "article_categories_bindings") + public Set categories = new HashSet<>(); +} diff --git a/prototype/src/main/java/org/hso/ecommerce/entities/ArticleOffer.java b/prototype/src/main/java/org/hso/ecommerce/entities/ArticleOffer.java new file mode 100644 index 0000000..f880fe2 --- /dev/null +++ b/prototype/src/main/java/org/hso/ecommerce/entities/ArticleOffer.java @@ -0,0 +1,22 @@ +package org.hso.ecommerce.entities; + +import javax.persistence.*; +import javax.validation.constraints.NotNull; + +@Entity +@Table(name = "article_offers") +public class ArticleOffer { + + @Id + @GeneratedValue(strategy = GenerationType.IDENTITY) + @Basic + public long id; + + @NotNull + public String manufacturer; + + @NotNull + public String articleNumber; + + public int vatPercent; +} diff --git a/prototype/src/main/java/org/hso/ecommerce/entities/BackgroundJob.java b/prototype/src/main/java/org/hso/ecommerce/entities/BackgroundJob.java new file mode 100644 index 0000000..6fe33d8 --- /dev/null +++ b/prototype/src/main/java/org/hso/ecommerce/entities/BackgroundJob.java @@ -0,0 +1,23 @@ +package org.hso.ecommerce.entities; + +import javax.persistence.*; +import javax.validation.constraints.NotNull; + +@Entity +@Table(name = "background_jobs") +public class BackgroundJob { + + public final String JOB_DASHBOARD = "Dashboard"; + public final String JOB_REORDER = "SupplierOrder"; + + @Id + @GeneratedValue(strategy = GenerationType.IDENTITY) + @Basic + public long id; + + @NotNull + public String jobName; + + @NotNull + public java.sql.Timestamp lastExecution; +} diff --git a/prototype/src/main/java/org/hso/ecommerce/entities/Booking.java b/prototype/src/main/java/org/hso/ecommerce/entities/Booking.java new file mode 100644 index 0000000..ac53277 --- /dev/null +++ b/prototype/src/main/java/org/hso/ecommerce/entities/Booking.java @@ -0,0 +1,25 @@ +package org.hso.ecommerce.entities; + +import javax.persistence.*; + +@Entity +@Table(name = "bookings") +public class Booking { + + @Id + @GeneratedValue(strategy = GenerationType.IDENTITY) + @Basic + public long id; + + // always >= 0 + public int amountCent; + + @ManyToOne(optional = true) + public BookingAccountEntry source; + + @ManyToOne(optional = true) + public BookingAccountEntry destination; + + @OneToOne(optional = false) + public BookingReason reason; +} diff --git a/prototype/src/main/java/org/hso/ecommerce/entities/BookingAccountEntry.java b/prototype/src/main/java/org/hso/ecommerce/entities/BookingAccountEntry.java new file mode 100644 index 0000000..da98894 --- /dev/null +++ b/prototype/src/main/java/org/hso/ecommerce/entities/BookingAccountEntry.java @@ -0,0 +1,25 @@ +package org.hso.ecommerce.entities; + +import javax.persistence.*; + +@Entity +@Table(name = "booking_account_entries") +public class BookingAccountEntry { + + @Id + @GeneratedValue(strategy = GenerationType.IDENTITY) + @Basic + public long id; + + public int newSumCent; + + @ManyToOne(optional = true) + public User userAccount; + + @ManyToOne(optional = true) + public Supplier supplierAccount; + + public boolean isMainAccount; + public boolean isVATAccount; + +} diff --git a/prototype/src/main/java/org/hso/ecommerce/entities/BookingReason.java b/prototype/src/main/java/org/hso/ecommerce/entities/BookingReason.java new file mode 100644 index 0000000..561bf05 --- /dev/null +++ b/prototype/src/main/java/org/hso/ecommerce/entities/BookingReason.java @@ -0,0 +1,27 @@ +package org.hso.ecommerce.entities; + +import javax.persistence.*; + +@Entity +@Table(name = "booking_reasons") +public class BookingReason { + + @Id + @GeneratedValue(strategy = GenerationType.IDENTITY) + @Basic + public long id; + + public boolean isManuel; + public boolean isStartBooking; + + public String comment; + + @ManyToOne(optional = true) + public CustomerOrder customerOrder; + + @ManyToOne(optional = true) + public CustomerPayment customerPayment; + + @ManyToOne(optional = true) + public SupplierOrder supplierOrder; +} diff --git a/prototype/src/main/java/org/hso/ecommerce/entities/Category.java b/prototype/src/main/java/org/hso/ecommerce/entities/Category.java new file mode 100644 index 0000000..9703b0a --- /dev/null +++ b/prototype/src/main/java/org/hso/ecommerce/entities/Category.java @@ -0,0 +1,23 @@ +package org.hso.ecommerce.entities; + +import javax.persistence.*; +import javax.validation.constraints.NotNull; +import java.util.HashSet; +import java.util.Set; + +@Entity +@Table(name = "categories") +public class Category { + + @Id + @GeneratedValue(strategy = GenerationType.IDENTITY) + @Basic + public long id; + + @NotNull + @Column(unique = true) + public String name; + + @ManyToMany(mappedBy = "categories") + public Set
articles = new HashSet<>(); +} diff --git a/prototype/src/main/java/org/hso/ecommerce/entities/CustomerOrder.java b/prototype/src/main/java/org/hso/ecommerce/entities/CustomerOrder.java new file mode 100644 index 0000000..455aede --- /dev/null +++ b/prototype/src/main/java/org/hso/ecommerce/entities/CustomerOrder.java @@ -0,0 +1,44 @@ +package org.hso.ecommerce.entities; + +import javax.persistence.*; +import javax.validation.constraints.NotNull; +import java.util.ArrayList; +import java.util.List; + +@Entity +@Table(name = "customer_orders") +public class CustomerOrder { + + @Id + @GeneratedValue(strategy = GenerationType.IDENTITY) + @Basic + public long id; + + @ManyToOne(optional = false) + public User customer; + + @Embedded + public Address destination; + + @OneToMany( + targetEntity = CustomerOrderPosition.class, + mappedBy = "order" + ) + public List positions = new ArrayList<>(); + + @NotNull + public java.sql.Timestamp created; + + @NotNull + public String trackingId; + + @Column(nullable = true) + public java.sql.Timestamp inDeliverySince; + + @Column(nullable = true) + public java.sql.Timestamp deliveredAt; + + public int totalNetCent; + public int totalGrossCent; + public int totalVatCent; +} diff --git a/prototype/src/main/java/org/hso/ecommerce/entities/CustomerOrderPosition.java b/prototype/src/main/java/org/hso/ecommerce/entities/CustomerOrderPosition.java new file mode 100644 index 0000000..db1d486 --- /dev/null +++ b/prototype/src/main/java/org/hso/ecommerce/entities/CustomerOrderPosition.java @@ -0,0 +1,22 @@ +package org.hso.ecommerce.entities; + +import javax.persistence.*; + +@Entity +@Table(name = "customer_order_positions") +public class CustomerOrderPosition { + + @Id + @GeneratedValue(strategy = GenerationType.IDENTITY) + @Basic + public long id; + + @ManyToOne(optional = false) + public CustomerOrder order; + + @ManyToOne(optional = false) + public Article article; + + public int pricePerUnit; + public int quantity; +} diff --git a/prototype/src/main/java/org/hso/ecommerce/entities/CustomerPayment.java b/prototype/src/main/java/org/hso/ecommerce/entities/CustomerPayment.java new file mode 100644 index 0000000..b52a2d9 --- /dev/null +++ b/prototype/src/main/java/org/hso/ecommerce/entities/CustomerPayment.java @@ -0,0 +1,18 @@ +package org.hso.ecommerce.entities; + +import javax.persistence.*; + +@Entity +@Table(name = "customer_payments") +public class CustomerPayment { + + @Id + @GeneratedValue(strategy = GenerationType.IDENTITY) + @Basic + public long id; + + public int amountCent; + + @Embedded + public PaymentMethod payment; +} diff --git a/prototype/src/main/java/org/hso/ecommerce/entities/DashboardSummary.java b/prototype/src/main/java/org/hso/ecommerce/entities/DashboardSummary.java new file mode 100644 index 0000000..13f7965 --- /dev/null +++ b/prototype/src/main/java/org/hso/ecommerce/entities/DashboardSummary.java @@ -0,0 +1,25 @@ +package org.hso.ecommerce.entities; + +import javax.persistence.*; +import javax.validation.constraints.NotNull; + +@Entity +@Table(name = "dashboard_summaries") +public class DashboardSummary { + + @Id + @GeneratedValue(strategy = GenerationType.IDENTITY) + @Basic + public long id; + + @NotNull + public java.sql.Date created; + + public int todaysCustomers; + public int todaysCustomersOrders; + public int todaysSuppliersOrders; + public int todaysItemsSold; + public int todaysSalesCent; + public int totalWarehouseCapacity; + public int currentWarehouseCapacity; +} diff --git a/prototype/src/main/java/org/hso/ecommerce/entities/Image.java b/prototype/src/main/java/org/hso/ecommerce/entities/Image.java new file mode 100644 index 0000000..62eac9e --- /dev/null +++ b/prototype/src/main/java/org/hso/ecommerce/entities/Image.java @@ -0,0 +1,17 @@ +package org.hso.ecommerce.entities; + +import javax.persistence.*; + +@Entity +@Table(name = "images") +public class Image { + + @Id + @GeneratedValue(strategy = GenerationType.IDENTITY) + @Basic + public long id; + + @Lob + @Column(name = "data", columnDefinition = "BLOB", nullable = false) + private byte[] data; +} diff --git a/prototype/src/main/java/org/hso/ecommerce/entities/PaymentMethod.java b/prototype/src/main/java/org/hso/ecommerce/entities/PaymentMethod.java new file mode 100644 index 0000000..0723219 --- /dev/null +++ b/prototype/src/main/java/org/hso/ecommerce/entities/PaymentMethod.java @@ -0,0 +1,10 @@ +package org.hso.ecommerce.entities; + +import javax.persistence.Embeddable; +import javax.validation.constraints.NotNull; + +@Embeddable +public class PaymentMethod { + @NotNull + public String creditCardNumber; +} diff --git a/prototype/src/main/java/org/hso/ecommerce/entities/Supplier.java b/prototype/src/main/java/org/hso/ecommerce/entities/Supplier.java new file mode 100644 index 0000000..5ae9794 --- /dev/null +++ b/prototype/src/main/java/org/hso/ecommerce/entities/Supplier.java @@ -0,0 +1,23 @@ +package org.hso.ecommerce.entities; + +import javax.persistence.*; +import javax.validation.constraints.NotNull; + +@Entity +@Table(name = "suppliers") +public class Supplier { + + @Id + @GeneratedValue(strategy = GenerationType.IDENTITY) + @Basic + public long id; + + @Column(unique = true) + public String uuid; + + @NotNull + public String name; + + @NotNull + public String apiUrl; +} diff --git a/prototype/src/main/java/org/hso/ecommerce/entities/SupplierOrder.java b/prototype/src/main/java/org/hso/ecommerce/entities/SupplierOrder.java new file mode 100644 index 0000000..80bb818 --- /dev/null +++ b/prototype/src/main/java/org/hso/ecommerce/entities/SupplierOrder.java @@ -0,0 +1,37 @@ +package org.hso.ecommerce.entities; + +import javax.persistence.*; +import javax.validation.constraints.NotNull; +import java.sql.Timestamp; + +@Entity +@Table(name = "supplier_orders") +public class SupplierOrder { + + @Id + @GeneratedValue(strategy = GenerationType.IDENTITY) + @Basic + public long id; + + @NotNull + public java.sql.Timestamp created; + + @ManyToOne(optional = false) + public Supplier supplier; + + @ManyToOne(optional = false) + public ArticleOffer ordered; + + public int numberOfUnits; + public int pricePerUnitNetCent; + + // Includes discounts + public int totalPriceNet; + + @Column(nullable = true) + public Timestamp delivered; + + public boolean wasDelivered() { + return delivered != null; + } +} diff --git a/prototype/src/main/java/org/hso/ecommerce/entities/User.java b/prototype/src/main/java/org/hso/ecommerce/entities/User.java index 1c3c721..5d023cf 100644 --- a/prototype/src/main/java/org/hso/ecommerce/entities/User.java +++ b/prototype/src/main/java/org/hso/ecommerce/entities/User.java @@ -3,6 +3,7 @@ package org.hso.ecommerce.entities; import org.springframework.security.crypto.bcrypt.BCrypt; import javax.persistence.*; +import javax.validation.constraints.NotNull; @Entity @@ -13,16 +14,24 @@ public class User { @GeneratedValue(strategy = GenerationType.IDENTITY) @Basic public long id; + + @NotNull public java.sql.Timestamp created; + @NotNull @Column(unique = true) public String email; + public String passwordHash; public boolean isActive; public boolean isEmployee; - public boolean getsAds; - public boolean isB2B; + + @Embedded + private Address defaultDeliveryAddress; + + @Embedded + private PaymentMethod defaultPayment; public long getId() { return id; diff --git a/prototype/src/main/java/org/hso/ecommerce/entities/WarehouseBooking.java b/prototype/src/main/java/org/hso/ecommerce/entities/WarehouseBooking.java new file mode 100644 index 0000000..b6501ef --- /dev/null +++ b/prototype/src/main/java/org/hso/ecommerce/entities/WarehouseBooking.java @@ -0,0 +1,27 @@ +package org.hso.ecommerce.entities; + +import javax.persistence.*; +import javax.validation.constraints.NotNull; +import java.util.ArrayList; +import java.util.List; + +@Entity +@Table(name = "warehouse_bookings") +public class WarehouseBooking { + + @Id + @GeneratedValue(strategy = GenerationType.IDENTITY) + @Basic + public long id; + + @NotNull + public java.sql.Timestamp created; + + public boolean isInProgress; + public boolean isDone; + + @OneToMany( + mappedBy = "booking" + ) + public List positions = new ArrayList<>(); +} diff --git a/prototype/src/main/java/org/hso/ecommerce/entities/WarehouseBookingPosition.java b/prototype/src/main/java/org/hso/ecommerce/entities/WarehouseBookingPosition.java new file mode 100644 index 0000000..9cf35f0 --- /dev/null +++ b/prototype/src/main/java/org/hso/ecommerce/entities/WarehouseBookingPosition.java @@ -0,0 +1,30 @@ +package org.hso.ecommerce.entities; + +import javax.persistence.*; + +// TODO Unify with $$$ Bookings + WarehouseBookingEntry. + +@Entity +@Table(name = "warehouse_booking_positions") +public class WarehouseBookingPosition { + + @Id + @GeneratedValue(strategy = GenerationType.IDENTITY) + @Basic + public long id; + + @ManyToOne(optional = false) + public WarehouseBooking booking; + + @ManyToOne(optional = false) + public Article article; + + public int amount; // positive or negative + + @ManyToOne(optional = true) + public WarehouseBookingPositionSlotEntry source; + + @ManyToOne(optional = true) + public WarehouseBookingPositionSlotEntry destination; + +} diff --git a/prototype/src/main/java/org/hso/ecommerce/entities/WarehouseBookingPositionSlotEntry.java b/prototype/src/main/java/org/hso/ecommerce/entities/WarehouseBookingPositionSlotEntry.java new file mode 100644 index 0000000..3ea0d57 --- /dev/null +++ b/prototype/src/main/java/org/hso/ecommerce/entities/WarehouseBookingPositionSlotEntry.java @@ -0,0 +1,21 @@ +package org.hso.ecommerce.entities; + +import javax.persistence.*; + +@Entity +@Table(name = "warehouse_booking_position_entries") +public class WarehouseBookingPositionSlotEntry { + + @Id + @GeneratedValue(strategy = GenerationType.IDENTITY) + @Basic + public long id; + + @ManyToOne + public Article article; + + public int newSumArticles; + public int newSumWarehousePosition; + + public int slot; +} diff --git a/prototype/src/main/java/org/hso/ecommerce/entities/WarehouseBookingReason.java b/prototype/src/main/java/org/hso/ecommerce/entities/WarehouseBookingReason.java new file mode 100644 index 0000000..0fd4834 --- /dev/null +++ b/prototype/src/main/java/org/hso/ecommerce/entities/WarehouseBookingReason.java @@ -0,0 +1,23 @@ +package org.hso.ecommerce.entities; + +import javax.persistence.*; + +@Entity +@Table(name = "warehouse_booking_reasons") +public class WarehouseBookingReason { + + @Id + @GeneratedValue(strategy = GenerationType.IDENTITY) + @Basic + public long id; + + public String comment; + + @ManyToOne(optional = true) + public SupplierOrder causeSupplierOrder; + + @ManyToOne(optional = true) + public CustomerOrder customerOrder; + + public boolean isManuel; +} -- 2.47.1 From bad1d94f8afe671d2daf1828f642b5b6f42bb041 Mon Sep 17 00:00:00 2001 From: CodeSteak Date: Tue, 28 Apr 2020 22:41:29 +0200 Subject: [PATCH 2/3] add controllers and packages --- .../java/org/hso/ecommerce/intern/RequestController.java | 8 ++++++++ .../hso/ecommerce/intern/article/RequestController.java | 8 ++++++++ .../hso/ecommerce/intern/booking/RequestController.java | 8 ++++++++ .../hso/ecommerce/intern/customers/RequestController.java | 8 ++++++++ .../intern/customers/order/RequestController.java | 8 ++++++++ .../hso/ecommerce/intern/suppliers/RequestController.java | 8 ++++++++ .../intern/suppliers/offer/RequestController.java | 8 ++++++++ .../intern/suppliers/order/RequestController.java | 8 ++++++++ .../hso/ecommerce/intern/warehouse/RequestController.java | 8 ++++++++ .../java/org/hso/ecommerce/login/RequestController.java | 8 ++++++++ .../java/org/hso/ecommerce/shop/RequestController.java | 8 ++++++++ .../org/hso/ecommerce/shop/article/RequestController.java | 8 ++++++++ .../hso/ecommerce/shop/checkout/RequestController.java | 8 ++++++++ .../org/hso/ecommerce/shop/search/RequestController.java | 8 ++++++++ .../java/org/hso/ecommerce/user/RequestController.java | 8 ++++++++ 15 files changed, 120 insertions(+) create mode 100644 prototype/src/main/java/org/hso/ecommerce/intern/RequestController.java create mode 100644 prototype/src/main/java/org/hso/ecommerce/intern/article/RequestController.java create mode 100644 prototype/src/main/java/org/hso/ecommerce/intern/booking/RequestController.java create mode 100644 prototype/src/main/java/org/hso/ecommerce/intern/customers/RequestController.java create mode 100644 prototype/src/main/java/org/hso/ecommerce/intern/customers/order/RequestController.java create mode 100644 prototype/src/main/java/org/hso/ecommerce/intern/suppliers/RequestController.java create mode 100644 prototype/src/main/java/org/hso/ecommerce/intern/suppliers/offer/RequestController.java create mode 100644 prototype/src/main/java/org/hso/ecommerce/intern/suppliers/order/RequestController.java create mode 100644 prototype/src/main/java/org/hso/ecommerce/intern/warehouse/RequestController.java create mode 100644 prototype/src/main/java/org/hso/ecommerce/login/RequestController.java create mode 100644 prototype/src/main/java/org/hso/ecommerce/shop/RequestController.java create mode 100644 prototype/src/main/java/org/hso/ecommerce/shop/article/RequestController.java create mode 100644 prototype/src/main/java/org/hso/ecommerce/shop/checkout/RequestController.java create mode 100644 prototype/src/main/java/org/hso/ecommerce/shop/search/RequestController.java create mode 100644 prototype/src/main/java/org/hso/ecommerce/user/RequestController.java diff --git a/prototype/src/main/java/org/hso/ecommerce/intern/RequestController.java b/prototype/src/main/java/org/hso/ecommerce/intern/RequestController.java new file mode 100644 index 0000000..12b0629 --- /dev/null +++ b/prototype/src/main/java/org/hso/ecommerce/intern/RequestController.java @@ -0,0 +1,8 @@ +package org.hso.ecommerce.intern; + +import org.springframework.stereotype.Controller; + +@Controller +//@RequestMapping("...") +public class RequestController { +} diff --git a/prototype/src/main/java/org/hso/ecommerce/intern/article/RequestController.java b/prototype/src/main/java/org/hso/ecommerce/intern/article/RequestController.java new file mode 100644 index 0000000..e9cb1d7 --- /dev/null +++ b/prototype/src/main/java/org/hso/ecommerce/intern/article/RequestController.java @@ -0,0 +1,8 @@ +package org.hso.ecommerce.intern.article; + +import org.springframework.stereotype.Controller; + +@Controller +//@RequestMapping("...") +public class RequestController { +} diff --git a/prototype/src/main/java/org/hso/ecommerce/intern/booking/RequestController.java b/prototype/src/main/java/org/hso/ecommerce/intern/booking/RequestController.java new file mode 100644 index 0000000..6010e3a --- /dev/null +++ b/prototype/src/main/java/org/hso/ecommerce/intern/booking/RequestController.java @@ -0,0 +1,8 @@ +package org.hso.ecommerce.intern.booking; + +import org.springframework.stereotype.Controller; + +@Controller +//@RequestMapping("...") +public class RequestController { +} diff --git a/prototype/src/main/java/org/hso/ecommerce/intern/customers/RequestController.java b/prototype/src/main/java/org/hso/ecommerce/intern/customers/RequestController.java new file mode 100644 index 0000000..9c2a1ee --- /dev/null +++ b/prototype/src/main/java/org/hso/ecommerce/intern/customers/RequestController.java @@ -0,0 +1,8 @@ +package org.hso.ecommerce.intern.customers; + +import org.springframework.stereotype.Controller; + +@Controller +//@RequestMapping("...") +public class RequestController { +} diff --git a/prototype/src/main/java/org/hso/ecommerce/intern/customers/order/RequestController.java b/prototype/src/main/java/org/hso/ecommerce/intern/customers/order/RequestController.java new file mode 100644 index 0000000..4bd43b6 --- /dev/null +++ b/prototype/src/main/java/org/hso/ecommerce/intern/customers/order/RequestController.java @@ -0,0 +1,8 @@ +package org.hso.ecommerce.intern.customers.order; + +import org.springframework.stereotype.Controller; + +@Controller +//@RequestMapping("...") +public class RequestController { +} diff --git a/prototype/src/main/java/org/hso/ecommerce/intern/suppliers/RequestController.java b/prototype/src/main/java/org/hso/ecommerce/intern/suppliers/RequestController.java new file mode 100644 index 0000000..375b0eb --- /dev/null +++ b/prototype/src/main/java/org/hso/ecommerce/intern/suppliers/RequestController.java @@ -0,0 +1,8 @@ +package org.hso.ecommerce.intern.suppliers; + +import org.springframework.stereotype.Controller; + +@Controller +//@RequestMapping("...") +public class RequestController { +} diff --git a/prototype/src/main/java/org/hso/ecommerce/intern/suppliers/offer/RequestController.java b/prototype/src/main/java/org/hso/ecommerce/intern/suppliers/offer/RequestController.java new file mode 100644 index 0000000..f295ae6 --- /dev/null +++ b/prototype/src/main/java/org/hso/ecommerce/intern/suppliers/offer/RequestController.java @@ -0,0 +1,8 @@ +package org.hso.ecommerce.intern.suppliers.offer; + +import org.springframework.stereotype.Controller; + +@Controller +//@RequestMapping("...") +public class RequestController { +} diff --git a/prototype/src/main/java/org/hso/ecommerce/intern/suppliers/order/RequestController.java b/prototype/src/main/java/org/hso/ecommerce/intern/suppliers/order/RequestController.java new file mode 100644 index 0000000..cd9fe09 --- /dev/null +++ b/prototype/src/main/java/org/hso/ecommerce/intern/suppliers/order/RequestController.java @@ -0,0 +1,8 @@ +package org.hso.ecommerce.intern.suppliers.order; + +import org.springframework.stereotype.Controller; + +@Controller +//@RequestMapping("...") +public class RequestController { +} diff --git a/prototype/src/main/java/org/hso/ecommerce/intern/warehouse/RequestController.java b/prototype/src/main/java/org/hso/ecommerce/intern/warehouse/RequestController.java new file mode 100644 index 0000000..0baac54 --- /dev/null +++ b/prototype/src/main/java/org/hso/ecommerce/intern/warehouse/RequestController.java @@ -0,0 +1,8 @@ +package org.hso.ecommerce.intern.warehouse; + +import org.springframework.stereotype.Controller; + +@Controller +//@RequestMapping("...") +public class RequestController { +} diff --git a/prototype/src/main/java/org/hso/ecommerce/login/RequestController.java b/prototype/src/main/java/org/hso/ecommerce/login/RequestController.java new file mode 100644 index 0000000..99c9c48 --- /dev/null +++ b/prototype/src/main/java/org/hso/ecommerce/login/RequestController.java @@ -0,0 +1,8 @@ +package org.hso.ecommerce.login; + +import org.springframework.stereotype.Controller; + +@Controller +//@RequestMapping("...") +public class RequestController { +} diff --git a/prototype/src/main/java/org/hso/ecommerce/shop/RequestController.java b/prototype/src/main/java/org/hso/ecommerce/shop/RequestController.java new file mode 100644 index 0000000..fd5a45a --- /dev/null +++ b/prototype/src/main/java/org/hso/ecommerce/shop/RequestController.java @@ -0,0 +1,8 @@ +package org.hso.ecommerce.shop; + +import org.springframework.stereotype.Controller; + +@Controller +//@RequestMapping("...") +public class RequestController { +} diff --git a/prototype/src/main/java/org/hso/ecommerce/shop/article/RequestController.java b/prototype/src/main/java/org/hso/ecommerce/shop/article/RequestController.java new file mode 100644 index 0000000..d77cdfd --- /dev/null +++ b/prototype/src/main/java/org/hso/ecommerce/shop/article/RequestController.java @@ -0,0 +1,8 @@ +package org.hso.ecommerce.shop.article; + +import org.springframework.stereotype.Controller; + +@Controller +//@RequestMapping("...") +public class RequestController { +} diff --git a/prototype/src/main/java/org/hso/ecommerce/shop/checkout/RequestController.java b/prototype/src/main/java/org/hso/ecommerce/shop/checkout/RequestController.java new file mode 100644 index 0000000..964f258 --- /dev/null +++ b/prototype/src/main/java/org/hso/ecommerce/shop/checkout/RequestController.java @@ -0,0 +1,8 @@ +package org.hso.ecommerce.shop.checkout; + +import org.springframework.stereotype.Controller; + +@Controller +//@RequestMapping("...") +public class RequestController { +} diff --git a/prototype/src/main/java/org/hso/ecommerce/shop/search/RequestController.java b/prototype/src/main/java/org/hso/ecommerce/shop/search/RequestController.java new file mode 100644 index 0000000..40c349b --- /dev/null +++ b/prototype/src/main/java/org/hso/ecommerce/shop/search/RequestController.java @@ -0,0 +1,8 @@ +package org.hso.ecommerce.shop.search; + +import org.springframework.stereotype.Controller; + +@Controller +//@RequestMapping("...") +public class RequestController { +} diff --git a/prototype/src/main/java/org/hso/ecommerce/user/RequestController.java b/prototype/src/main/java/org/hso/ecommerce/user/RequestController.java new file mode 100644 index 0000000..79dff55 --- /dev/null +++ b/prototype/src/main/java/org/hso/ecommerce/user/RequestController.java @@ -0,0 +1,8 @@ +package org.hso.ecommerce.user; + +import org.springframework.stereotype.Controller; + +@Controller +//@RequestMapping("...") +public class RequestController { +} -- 2.47.1 From de6c750e7f1a4f84d4c4e20a1386d40dbeff6e51 Mon Sep 17 00:00:00 2001 From: CodeSteak Date: Wed, 29 Apr 2020 22:44:16 +0200 Subject: [PATCH 3/3] Refactor Package Layout --- .../{shop/RequestController.java => ShopController.java} | 4 ++-- .../org/hso/ecommerce/action/somepackage/DemoAction.java | 7 +++++++ .../java/org/hso/ecommerce/app/RequestController.java | 4 ++-- .../org/hso/ecommerce/components/LoginIntercepter.java | 4 ++-- .../ArticleController.java} | 4 ++-- .../org/hso/ecommerce/controller/BookingController.java | 8 ++++++++ .../LoginController.java} | 4 ++-- .../UserController.java} | 4 ++-- .../intern/IndexController.java} | 4 ++-- .../ecommerce/controller/intern/WarehouseController.java | 8 ++++++++ .../controller/intern/customers/IndexController.java | 8 ++++++++ .../controller/intern/customers/OrderController.java | 8 ++++++++ .../controller/intern/suppliers/IndexController.java | 8 ++++++++ .../controller/intern/suppliers/OfferController.java | 8 ++++++++ .../controller/intern/suppliers/OrderController.java | 8 ++++++++ .../hso/ecommerce/controller/shop/ArticleController.java | 8 ++++++++ .../shop/CheckoutController.java} | 4 ++-- .../shop/IndexController.java} | 4 ++-- .../shop/SearchController.java} | 4 ++-- .../org/hso/ecommerce/entities/{ => booking}/Booking.java | 2 +- .../entities/{ => booking}/BookingAccountEntry.java | 5 ++++- .../ecommerce/entities/{ => booking}/BookingReason.java | 5 ++++- .../ecommerce/entities/{ => booking}/CustomerPayment.java | 4 +++- .../ecommerce/entities/{ => booking}/PaymentMethod.java | 2 +- .../hso/ecommerce/entities/{ => cron}/BackgroundJob.java | 2 +- .../entities/{ => dashboard}/DashboardSummary.java | 2 +- .../org/hso/ecommerce/entities/{ => shop}/Address.java | 2 +- .../org/hso/ecommerce/entities/{ => shop}/Article.java | 4 +++- .../org/hso/ecommerce/entities/{ => shop}/Category.java | 4 +++- .../hso/ecommerce/entities/{ => shop}/CustomerOrder.java | 4 +++- .../entities/{ => shop}/CustomerOrderPosition.java | 2 +- .../java/org/hso/ecommerce/entities/{ => shop}/Image.java | 2 +- .../ecommerce/entities/{ => supplier}/ArticleOffer.java | 2 +- .../hso/ecommerce/entities/{ => supplier}/Supplier.java | 2 +- .../ecommerce/entities/{ => supplier}/SupplierOrder.java | 2 +- .../java/org/hso/ecommerce/entities/{ => user}/User.java | 4 +++- .../{db/repos => entities/user}/UserRepository.java | 4 ++-- .../entities/{ => warehouse}/WarehouseBooking.java | 2 +- .../{ => warehouse}/WarehouseBookingPosition.java | 4 +++- .../WarehouseBookingPositionSlotEntry.java | 4 +++- .../entities/{ => warehouse}/WarehouseBookingReason.java | 5 ++++- .../intern/customers/order/RequestController.java | 8 -------- .../hso/ecommerce/intern/suppliers/RequestController.java | 8 -------- .../intern/suppliers/offer/RequestController.java | 8 -------- .../intern/suppliers/order/RequestController.java | 8 -------- .../hso/ecommerce/intern/warehouse/RequestController.java | 8 -------- .../hso/ecommerce/shop/checkout/RequestController.java | 8 -------- .../org/hso/ecommerce/shop/search/RequestController.java | 8 -------- 48 files changed, 137 insertions(+), 99 deletions(-) rename prototype/src/main/java/org/hso/ecommerce/{shop/RequestController.java => ShopController.java} (58%) create mode 100644 prototype/src/main/java/org/hso/ecommerce/action/somepackage/DemoAction.java rename prototype/src/main/java/org/hso/ecommerce/{user/RequestController.java => controller/ArticleController.java} (56%) create mode 100644 prototype/src/main/java/org/hso/ecommerce/controller/BookingController.java rename prototype/src/main/java/org/hso/ecommerce/{intern/RequestController.java => controller/LoginController.java} (56%) rename prototype/src/main/java/org/hso/ecommerce/{login/RequestController.java => controller/UserController.java} (57%) rename prototype/src/main/java/org/hso/ecommerce/{intern/article/RequestController.java => controller/intern/IndexController.java} (54%) create mode 100644 prototype/src/main/java/org/hso/ecommerce/controller/intern/WarehouseController.java create mode 100644 prototype/src/main/java/org/hso/ecommerce/controller/intern/customers/IndexController.java create mode 100644 prototype/src/main/java/org/hso/ecommerce/controller/intern/customers/OrderController.java create mode 100644 prototype/src/main/java/org/hso/ecommerce/controller/intern/suppliers/IndexController.java create mode 100644 prototype/src/main/java/org/hso/ecommerce/controller/intern/suppliers/OfferController.java create mode 100644 prototype/src/main/java/org/hso/ecommerce/controller/intern/suppliers/OrderController.java create mode 100644 prototype/src/main/java/org/hso/ecommerce/controller/shop/ArticleController.java rename prototype/src/main/java/org/hso/ecommerce/{intern/customers/RequestController.java => controller/shop/CheckoutController.java} (54%) rename prototype/src/main/java/org/hso/ecommerce/{shop/article/RequestController.java => controller/shop/IndexController.java} (55%) rename prototype/src/main/java/org/hso/ecommerce/{intern/booking/RequestController.java => controller/shop/SearchController.java} (54%) rename prototype/src/main/java/org/hso/ecommerce/entities/{ => booking}/Booking.java (91%) rename prototype/src/main/java/org/hso/ecommerce/entities/{ => booking}/BookingAccountEntry.java (75%) rename prototype/src/main/java/org/hso/ecommerce/entities/{ => booking}/BookingReason.java (76%) rename prototype/src/main/java/org/hso/ecommerce/entities/{ => booking}/CustomerPayment.java (73%) rename prototype/src/main/java/org/hso/ecommerce/entities/{ => booking}/PaymentMethod.java (80%) rename prototype/src/main/java/org/hso/ecommerce/entities/{ => cron}/BackgroundJob.java (91%) rename prototype/src/main/java/org/hso/ecommerce/entities/{ => dashboard}/DashboardSummary.java (92%) rename prototype/src/main/java/org/hso/ecommerce/entities/{ => shop}/Address.java (80%) rename prototype/src/main/java/org/hso/ecommerce/entities/{ => shop}/Article.java (88%) rename prototype/src/main/java/org/hso/ecommerce/entities/{ => shop}/Category.java (83%) rename prototype/src/main/java/org/hso/ecommerce/entities/{ => shop}/CustomerOrder.java (91%) rename prototype/src/main/java/org/hso/ecommerce/entities/{ => shop}/CustomerOrderPosition.java (90%) rename prototype/src/main/java/org/hso/ecommerce/entities/{ => shop}/Image.java (87%) rename prototype/src/main/java/org/hso/ecommerce/entities/{ => supplier}/ArticleOffer.java (88%) rename prototype/src/main/java/org/hso/ecommerce/entities/{ => supplier}/Supplier.java (88%) rename prototype/src/main/java/org/hso/ecommerce/entities/{ => supplier}/SupplierOrder.java (94%) rename prototype/src/main/java/org/hso/ecommerce/entities/{ => user}/User.java (86%) rename prototype/src/main/java/org/hso/ecommerce/{db/repos => entities/user}/UserRepository.java (81%) rename prototype/src/main/java/org/hso/ecommerce/entities/{ => warehouse}/WarehouseBooking.java (92%) rename prototype/src/main/java/org/hso/ecommerce/entities/{ => warehouse}/WarehouseBookingPosition.java (87%) rename prototype/src/main/java/org/hso/ecommerce/entities/{ => warehouse}/WarehouseBookingPositionSlotEntry.java (79%) rename prototype/src/main/java/org/hso/ecommerce/entities/{ => warehouse}/WarehouseBookingReason.java (72%) delete mode 100644 prototype/src/main/java/org/hso/ecommerce/intern/customers/order/RequestController.java delete mode 100644 prototype/src/main/java/org/hso/ecommerce/intern/suppliers/RequestController.java delete mode 100644 prototype/src/main/java/org/hso/ecommerce/intern/suppliers/offer/RequestController.java delete mode 100644 prototype/src/main/java/org/hso/ecommerce/intern/suppliers/order/RequestController.java delete mode 100644 prototype/src/main/java/org/hso/ecommerce/intern/warehouse/RequestController.java delete mode 100644 prototype/src/main/java/org/hso/ecommerce/shop/checkout/RequestController.java delete mode 100644 prototype/src/main/java/org/hso/ecommerce/shop/search/RequestController.java diff --git a/prototype/src/main/java/org/hso/ecommerce/shop/RequestController.java b/prototype/src/main/java/org/hso/ecommerce/ShopController.java similarity index 58% rename from prototype/src/main/java/org/hso/ecommerce/shop/RequestController.java rename to prototype/src/main/java/org/hso/ecommerce/ShopController.java index fd5a45a..d09bd0e 100644 --- a/prototype/src/main/java/org/hso/ecommerce/shop/RequestController.java +++ b/prototype/src/main/java/org/hso/ecommerce/ShopController.java @@ -1,8 +1,8 @@ -package org.hso.ecommerce.shop; +package org.hso.ecommerce; import org.springframework.stereotype.Controller; @Controller //@RequestMapping("...") -public class RequestController { +public class ShopController { } diff --git a/prototype/src/main/java/org/hso/ecommerce/action/somepackage/DemoAction.java b/prototype/src/main/java/org/hso/ecommerce/action/somepackage/DemoAction.java new file mode 100644 index 0000000..22f8946 --- /dev/null +++ b/prototype/src/main/java/org/hso/ecommerce/action/somepackage/DemoAction.java @@ -0,0 +1,7 @@ +package org.hso.ecommerce.action.somepackage; + +public class DemoAction { + // TODO: remove me. + // mksubpackage + +} diff --git a/prototype/src/main/java/org/hso/ecommerce/app/RequestController.java b/prototype/src/main/java/org/hso/ecommerce/app/RequestController.java index 9866d5e..f90906a 100644 --- a/prototype/src/main/java/org/hso/ecommerce/app/RequestController.java +++ b/prototype/src/main/java/org/hso/ecommerce/app/RequestController.java @@ -1,7 +1,7 @@ package org.hso.ecommerce.app; -import org.hso.ecommerce.db.repos.UserRepository; -import org.hso.ecommerce.entities.User; +import org.hso.ecommerce.entities.user.UserRepository; +import org.hso.ecommerce.entities.user.User; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Controller; import org.springframework.web.bind.annotation.*; diff --git a/prototype/src/main/java/org/hso/ecommerce/components/LoginIntercepter.java b/prototype/src/main/java/org/hso/ecommerce/components/LoginIntercepter.java index 8763618..c4a2419 100644 --- a/prototype/src/main/java/org/hso/ecommerce/components/LoginIntercepter.java +++ b/prototype/src/main/java/org/hso/ecommerce/components/LoginIntercepter.java @@ -1,7 +1,7 @@ package org.hso.ecommerce.components; -import org.hso.ecommerce.db.repos.UserRepository; -import org.hso.ecommerce.entities.User; +import org.hso.ecommerce.entities.user.UserRepository; +import org.hso.ecommerce.entities.user.User; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Component; import org.springframework.web.servlet.HandlerInterceptor; diff --git a/prototype/src/main/java/org/hso/ecommerce/user/RequestController.java b/prototype/src/main/java/org/hso/ecommerce/controller/ArticleController.java similarity index 56% rename from prototype/src/main/java/org/hso/ecommerce/user/RequestController.java rename to prototype/src/main/java/org/hso/ecommerce/controller/ArticleController.java index 79dff55..5433d25 100644 --- a/prototype/src/main/java/org/hso/ecommerce/user/RequestController.java +++ b/prototype/src/main/java/org/hso/ecommerce/controller/ArticleController.java @@ -1,8 +1,8 @@ -package org.hso.ecommerce.user; +package org.hso.ecommerce.controller; import org.springframework.stereotype.Controller; @Controller //@RequestMapping("...") -public class RequestController { +public class ArticleController { } diff --git a/prototype/src/main/java/org/hso/ecommerce/controller/BookingController.java b/prototype/src/main/java/org/hso/ecommerce/controller/BookingController.java new file mode 100644 index 0000000..d35093e --- /dev/null +++ b/prototype/src/main/java/org/hso/ecommerce/controller/BookingController.java @@ -0,0 +1,8 @@ +package org.hso.ecommerce.controller; + +import org.springframework.stereotype.Controller; + +@Controller +//@RequestMapping("...") +public class BookingController { +} diff --git a/prototype/src/main/java/org/hso/ecommerce/intern/RequestController.java b/prototype/src/main/java/org/hso/ecommerce/controller/LoginController.java similarity index 56% rename from prototype/src/main/java/org/hso/ecommerce/intern/RequestController.java rename to prototype/src/main/java/org/hso/ecommerce/controller/LoginController.java index 12b0629..5f4ebad 100644 --- a/prototype/src/main/java/org/hso/ecommerce/intern/RequestController.java +++ b/prototype/src/main/java/org/hso/ecommerce/controller/LoginController.java @@ -1,8 +1,8 @@ -package org.hso.ecommerce.intern; +package org.hso.ecommerce.controller; import org.springframework.stereotype.Controller; @Controller //@RequestMapping("...") -public class RequestController { +public class LoginController { } diff --git a/prototype/src/main/java/org/hso/ecommerce/login/RequestController.java b/prototype/src/main/java/org/hso/ecommerce/controller/UserController.java similarity index 57% rename from prototype/src/main/java/org/hso/ecommerce/login/RequestController.java rename to prototype/src/main/java/org/hso/ecommerce/controller/UserController.java index 99c9c48..523bf2e 100644 --- a/prototype/src/main/java/org/hso/ecommerce/login/RequestController.java +++ b/prototype/src/main/java/org/hso/ecommerce/controller/UserController.java @@ -1,8 +1,8 @@ -package org.hso.ecommerce.login; +package org.hso.ecommerce.controller; import org.springframework.stereotype.Controller; @Controller //@RequestMapping("...") -public class RequestController { +public class UserController { } diff --git a/prototype/src/main/java/org/hso/ecommerce/intern/article/RequestController.java b/prototype/src/main/java/org/hso/ecommerce/controller/intern/IndexController.java similarity index 54% rename from prototype/src/main/java/org/hso/ecommerce/intern/article/RequestController.java rename to prototype/src/main/java/org/hso/ecommerce/controller/intern/IndexController.java index e9cb1d7..32ee4a7 100644 --- a/prototype/src/main/java/org/hso/ecommerce/intern/article/RequestController.java +++ b/prototype/src/main/java/org/hso/ecommerce/controller/intern/IndexController.java @@ -1,8 +1,8 @@ -package org.hso.ecommerce.intern.article; +package org.hso.ecommerce.controller.intern; import org.springframework.stereotype.Controller; @Controller //@RequestMapping("...") -public class RequestController { +public class IndexController { } diff --git a/prototype/src/main/java/org/hso/ecommerce/controller/intern/WarehouseController.java b/prototype/src/main/java/org/hso/ecommerce/controller/intern/WarehouseController.java new file mode 100644 index 0000000..9b618f7 --- /dev/null +++ b/prototype/src/main/java/org/hso/ecommerce/controller/intern/WarehouseController.java @@ -0,0 +1,8 @@ +package org.hso.ecommerce.controller.intern; + +import org.springframework.stereotype.Controller; + +@Controller +//@RequestMapping("...") +public class WarehouseController { +} diff --git a/prototype/src/main/java/org/hso/ecommerce/controller/intern/customers/IndexController.java b/prototype/src/main/java/org/hso/ecommerce/controller/intern/customers/IndexController.java new file mode 100644 index 0000000..ee07280 --- /dev/null +++ b/prototype/src/main/java/org/hso/ecommerce/controller/intern/customers/IndexController.java @@ -0,0 +1,8 @@ +package org.hso.ecommerce.controller.intern.customers; + +import org.springframework.stereotype.Controller; + +@Controller +//@RequestMapping("...") +public class IndexController { +} diff --git a/prototype/src/main/java/org/hso/ecommerce/controller/intern/customers/OrderController.java b/prototype/src/main/java/org/hso/ecommerce/controller/intern/customers/OrderController.java new file mode 100644 index 0000000..19db2a9 --- /dev/null +++ b/prototype/src/main/java/org/hso/ecommerce/controller/intern/customers/OrderController.java @@ -0,0 +1,8 @@ +package org.hso.ecommerce.controller.intern.customers; + +import org.springframework.stereotype.Controller; + +@Controller +//@RequestMapping("...") +public class OrderController { +} diff --git a/prototype/src/main/java/org/hso/ecommerce/controller/intern/suppliers/IndexController.java b/prototype/src/main/java/org/hso/ecommerce/controller/intern/suppliers/IndexController.java new file mode 100644 index 0000000..c9ad42b --- /dev/null +++ b/prototype/src/main/java/org/hso/ecommerce/controller/intern/suppliers/IndexController.java @@ -0,0 +1,8 @@ +package org.hso.ecommerce.controller.intern.suppliers; + +import org.springframework.stereotype.Controller; + +@Controller +//@RequestMapping("...") +public class IndexController { +} diff --git a/prototype/src/main/java/org/hso/ecommerce/controller/intern/suppliers/OfferController.java b/prototype/src/main/java/org/hso/ecommerce/controller/intern/suppliers/OfferController.java new file mode 100644 index 0000000..a7932b5 --- /dev/null +++ b/prototype/src/main/java/org/hso/ecommerce/controller/intern/suppliers/OfferController.java @@ -0,0 +1,8 @@ +package org.hso.ecommerce.controller.intern.suppliers; + +import org.springframework.stereotype.Controller; + +@Controller +//@RequestMapping("...") +public class OfferController { +} diff --git a/prototype/src/main/java/org/hso/ecommerce/controller/intern/suppliers/OrderController.java b/prototype/src/main/java/org/hso/ecommerce/controller/intern/suppliers/OrderController.java new file mode 100644 index 0000000..aa63fcd --- /dev/null +++ b/prototype/src/main/java/org/hso/ecommerce/controller/intern/suppliers/OrderController.java @@ -0,0 +1,8 @@ +package org.hso.ecommerce.controller.intern.suppliers; + +import org.springframework.stereotype.Controller; + +@Controller +//@RequestMapping("...") +public class OrderController { +} diff --git a/prototype/src/main/java/org/hso/ecommerce/controller/shop/ArticleController.java b/prototype/src/main/java/org/hso/ecommerce/controller/shop/ArticleController.java new file mode 100644 index 0000000..5e17f90 --- /dev/null +++ b/prototype/src/main/java/org/hso/ecommerce/controller/shop/ArticleController.java @@ -0,0 +1,8 @@ +package org.hso.ecommerce.controller.shop; + +import org.springframework.stereotype.Controller; + +@Controller +//@RequestMapping("...") +public class ArticleController { +} diff --git a/prototype/src/main/java/org/hso/ecommerce/intern/customers/RequestController.java b/prototype/src/main/java/org/hso/ecommerce/controller/shop/CheckoutController.java similarity index 54% rename from prototype/src/main/java/org/hso/ecommerce/intern/customers/RequestController.java rename to prototype/src/main/java/org/hso/ecommerce/controller/shop/CheckoutController.java index 9c2a1ee..13f3dda 100644 --- a/prototype/src/main/java/org/hso/ecommerce/intern/customers/RequestController.java +++ b/prototype/src/main/java/org/hso/ecommerce/controller/shop/CheckoutController.java @@ -1,8 +1,8 @@ -package org.hso.ecommerce.intern.customers; +package org.hso.ecommerce.controller.shop; import org.springframework.stereotype.Controller; @Controller //@RequestMapping("...") -public class RequestController { +public class CheckoutController { } diff --git a/prototype/src/main/java/org/hso/ecommerce/shop/article/RequestController.java b/prototype/src/main/java/org/hso/ecommerce/controller/shop/IndexController.java similarity index 55% rename from prototype/src/main/java/org/hso/ecommerce/shop/article/RequestController.java rename to prototype/src/main/java/org/hso/ecommerce/controller/shop/IndexController.java index d77cdfd..378efa1 100644 --- a/prototype/src/main/java/org/hso/ecommerce/shop/article/RequestController.java +++ b/prototype/src/main/java/org/hso/ecommerce/controller/shop/IndexController.java @@ -1,8 +1,8 @@ -package org.hso.ecommerce.shop.article; +package org.hso.ecommerce.controller.shop; import org.springframework.stereotype.Controller; @Controller //@RequestMapping("...") -public class RequestController { +public class IndexController { } diff --git a/prototype/src/main/java/org/hso/ecommerce/intern/booking/RequestController.java b/prototype/src/main/java/org/hso/ecommerce/controller/shop/SearchController.java similarity index 54% rename from prototype/src/main/java/org/hso/ecommerce/intern/booking/RequestController.java rename to prototype/src/main/java/org/hso/ecommerce/controller/shop/SearchController.java index 6010e3a..29d47d7 100644 --- a/prototype/src/main/java/org/hso/ecommerce/intern/booking/RequestController.java +++ b/prototype/src/main/java/org/hso/ecommerce/controller/shop/SearchController.java @@ -1,8 +1,8 @@ -package org.hso.ecommerce.intern.booking; +package org.hso.ecommerce.controller.shop; import org.springframework.stereotype.Controller; @Controller //@RequestMapping("...") -public class RequestController { +public class SearchController { } diff --git a/prototype/src/main/java/org/hso/ecommerce/entities/Booking.java b/prototype/src/main/java/org/hso/ecommerce/entities/booking/Booking.java similarity index 91% rename from prototype/src/main/java/org/hso/ecommerce/entities/Booking.java rename to prototype/src/main/java/org/hso/ecommerce/entities/booking/Booking.java index ac53277..997f578 100644 --- a/prototype/src/main/java/org/hso/ecommerce/entities/Booking.java +++ b/prototype/src/main/java/org/hso/ecommerce/entities/booking/Booking.java @@ -1,4 +1,4 @@ -package org.hso.ecommerce.entities; +package org.hso.ecommerce.entities.booking; import javax.persistence.*; diff --git a/prototype/src/main/java/org/hso/ecommerce/entities/BookingAccountEntry.java b/prototype/src/main/java/org/hso/ecommerce/entities/booking/BookingAccountEntry.java similarity index 75% rename from prototype/src/main/java/org/hso/ecommerce/entities/BookingAccountEntry.java rename to prototype/src/main/java/org/hso/ecommerce/entities/booking/BookingAccountEntry.java index da98894..92e282f 100644 --- a/prototype/src/main/java/org/hso/ecommerce/entities/BookingAccountEntry.java +++ b/prototype/src/main/java/org/hso/ecommerce/entities/booking/BookingAccountEntry.java @@ -1,4 +1,7 @@ -package org.hso.ecommerce.entities; +package org.hso.ecommerce.entities.booking; + +import org.hso.ecommerce.entities.supplier.Supplier; +import org.hso.ecommerce.entities.user.User; import javax.persistence.*; diff --git a/prototype/src/main/java/org/hso/ecommerce/entities/BookingReason.java b/prototype/src/main/java/org/hso/ecommerce/entities/booking/BookingReason.java similarity index 76% rename from prototype/src/main/java/org/hso/ecommerce/entities/BookingReason.java rename to prototype/src/main/java/org/hso/ecommerce/entities/booking/BookingReason.java index 561bf05..b2bc6cc 100644 --- a/prototype/src/main/java/org/hso/ecommerce/entities/BookingReason.java +++ b/prototype/src/main/java/org/hso/ecommerce/entities/booking/BookingReason.java @@ -1,4 +1,7 @@ -package org.hso.ecommerce.entities; +package org.hso.ecommerce.entities.booking; + +import org.hso.ecommerce.entities.shop.CustomerOrder; +import org.hso.ecommerce.entities.supplier.SupplierOrder; import javax.persistence.*; diff --git a/prototype/src/main/java/org/hso/ecommerce/entities/CustomerPayment.java b/prototype/src/main/java/org/hso/ecommerce/entities/booking/CustomerPayment.java similarity index 73% rename from prototype/src/main/java/org/hso/ecommerce/entities/CustomerPayment.java rename to prototype/src/main/java/org/hso/ecommerce/entities/booking/CustomerPayment.java index b52a2d9..037e856 100644 --- a/prototype/src/main/java/org/hso/ecommerce/entities/CustomerPayment.java +++ b/prototype/src/main/java/org/hso/ecommerce/entities/booking/CustomerPayment.java @@ -1,4 +1,6 @@ -package org.hso.ecommerce.entities; +package org.hso.ecommerce.entities.booking; + +import org.hso.ecommerce.entities.booking.PaymentMethod; import javax.persistence.*; diff --git a/prototype/src/main/java/org/hso/ecommerce/entities/PaymentMethod.java b/prototype/src/main/java/org/hso/ecommerce/entities/booking/PaymentMethod.java similarity index 80% rename from prototype/src/main/java/org/hso/ecommerce/entities/PaymentMethod.java rename to prototype/src/main/java/org/hso/ecommerce/entities/booking/PaymentMethod.java index 0723219..6cb5307 100644 --- a/prototype/src/main/java/org/hso/ecommerce/entities/PaymentMethod.java +++ b/prototype/src/main/java/org/hso/ecommerce/entities/booking/PaymentMethod.java @@ -1,4 +1,4 @@ -package org.hso.ecommerce.entities; +package org.hso.ecommerce.entities.booking; import javax.persistence.Embeddable; import javax.validation.constraints.NotNull; diff --git a/prototype/src/main/java/org/hso/ecommerce/entities/BackgroundJob.java b/prototype/src/main/java/org/hso/ecommerce/entities/cron/BackgroundJob.java similarity index 91% rename from prototype/src/main/java/org/hso/ecommerce/entities/BackgroundJob.java rename to prototype/src/main/java/org/hso/ecommerce/entities/cron/BackgroundJob.java index 6fe33d8..14a4ae3 100644 --- a/prototype/src/main/java/org/hso/ecommerce/entities/BackgroundJob.java +++ b/prototype/src/main/java/org/hso/ecommerce/entities/cron/BackgroundJob.java @@ -1,4 +1,4 @@ -package org.hso.ecommerce.entities; +package org.hso.ecommerce.entities.cron; import javax.persistence.*; import javax.validation.constraints.NotNull; diff --git a/prototype/src/main/java/org/hso/ecommerce/entities/DashboardSummary.java b/prototype/src/main/java/org/hso/ecommerce/entities/dashboard/DashboardSummary.java similarity index 92% rename from prototype/src/main/java/org/hso/ecommerce/entities/DashboardSummary.java rename to prototype/src/main/java/org/hso/ecommerce/entities/dashboard/DashboardSummary.java index 13f7965..9f68988 100644 --- a/prototype/src/main/java/org/hso/ecommerce/entities/DashboardSummary.java +++ b/prototype/src/main/java/org/hso/ecommerce/entities/dashboard/DashboardSummary.java @@ -1,4 +1,4 @@ -package org.hso.ecommerce.entities; +package org.hso.ecommerce.entities.dashboard; import javax.persistence.*; import javax.validation.constraints.NotNull; diff --git a/prototype/src/main/java/org/hso/ecommerce/entities/Address.java b/prototype/src/main/java/org/hso/ecommerce/entities/shop/Address.java similarity index 80% rename from prototype/src/main/java/org/hso/ecommerce/entities/Address.java rename to prototype/src/main/java/org/hso/ecommerce/entities/shop/Address.java index ecd4b35..32d057b 100644 --- a/prototype/src/main/java/org/hso/ecommerce/entities/Address.java +++ b/prototype/src/main/java/org/hso/ecommerce/entities/shop/Address.java @@ -1,4 +1,4 @@ -package org.hso.ecommerce.entities; +package org.hso.ecommerce.entities.shop; import javax.persistence.Embeddable; diff --git a/prototype/src/main/java/org/hso/ecommerce/entities/Article.java b/prototype/src/main/java/org/hso/ecommerce/entities/shop/Article.java similarity index 88% rename from prototype/src/main/java/org/hso/ecommerce/entities/Article.java rename to prototype/src/main/java/org/hso/ecommerce/entities/shop/Article.java index 23c0209..6cd198e 100644 --- a/prototype/src/main/java/org/hso/ecommerce/entities/Article.java +++ b/prototype/src/main/java/org/hso/ecommerce/entities/shop/Article.java @@ -1,4 +1,6 @@ -package org.hso.ecommerce.entities; +package org.hso.ecommerce.entities.shop; + +import org.hso.ecommerce.entities.supplier.ArticleOffer; import javax.persistence.*; import javax.validation.constraints.NotNull; diff --git a/prototype/src/main/java/org/hso/ecommerce/entities/Category.java b/prototype/src/main/java/org/hso/ecommerce/entities/shop/Category.java similarity index 83% rename from prototype/src/main/java/org/hso/ecommerce/entities/Category.java rename to prototype/src/main/java/org/hso/ecommerce/entities/shop/Category.java index 9703b0a..13b0b54 100644 --- a/prototype/src/main/java/org/hso/ecommerce/entities/Category.java +++ b/prototype/src/main/java/org/hso/ecommerce/entities/shop/Category.java @@ -1,4 +1,6 @@ -package org.hso.ecommerce.entities; +package org.hso.ecommerce.entities.shop; + +import org.hso.ecommerce.entities.shop.Article; import javax.persistence.*; import javax.validation.constraints.NotNull; diff --git a/prototype/src/main/java/org/hso/ecommerce/entities/CustomerOrder.java b/prototype/src/main/java/org/hso/ecommerce/entities/shop/CustomerOrder.java similarity index 91% rename from prototype/src/main/java/org/hso/ecommerce/entities/CustomerOrder.java rename to prototype/src/main/java/org/hso/ecommerce/entities/shop/CustomerOrder.java index 455aede..dd7d4f8 100644 --- a/prototype/src/main/java/org/hso/ecommerce/entities/CustomerOrder.java +++ b/prototype/src/main/java/org/hso/ecommerce/entities/shop/CustomerOrder.java @@ -1,4 +1,6 @@ -package org.hso.ecommerce.entities; +package org.hso.ecommerce.entities.shop; + +import org.hso.ecommerce.entities.user.User; import javax.persistence.*; import javax.validation.constraints.NotNull; diff --git a/prototype/src/main/java/org/hso/ecommerce/entities/CustomerOrderPosition.java b/prototype/src/main/java/org/hso/ecommerce/entities/shop/CustomerOrderPosition.java similarity index 90% rename from prototype/src/main/java/org/hso/ecommerce/entities/CustomerOrderPosition.java rename to prototype/src/main/java/org/hso/ecommerce/entities/shop/CustomerOrderPosition.java index db1d486..dbe53f7 100644 --- a/prototype/src/main/java/org/hso/ecommerce/entities/CustomerOrderPosition.java +++ b/prototype/src/main/java/org/hso/ecommerce/entities/shop/CustomerOrderPosition.java @@ -1,4 +1,4 @@ -package org.hso.ecommerce.entities; +package org.hso.ecommerce.entities.shop; import javax.persistence.*; diff --git a/prototype/src/main/java/org/hso/ecommerce/entities/Image.java b/prototype/src/main/java/org/hso/ecommerce/entities/shop/Image.java similarity index 87% rename from prototype/src/main/java/org/hso/ecommerce/entities/Image.java rename to prototype/src/main/java/org/hso/ecommerce/entities/shop/Image.java index 62eac9e..33eebdb 100644 --- a/prototype/src/main/java/org/hso/ecommerce/entities/Image.java +++ b/prototype/src/main/java/org/hso/ecommerce/entities/shop/Image.java @@ -1,4 +1,4 @@ -package org.hso.ecommerce.entities; +package org.hso.ecommerce.entities.shop; import javax.persistence.*; diff --git a/prototype/src/main/java/org/hso/ecommerce/entities/ArticleOffer.java b/prototype/src/main/java/org/hso/ecommerce/entities/supplier/ArticleOffer.java similarity index 88% rename from prototype/src/main/java/org/hso/ecommerce/entities/ArticleOffer.java rename to prototype/src/main/java/org/hso/ecommerce/entities/supplier/ArticleOffer.java index f880fe2..005b0b9 100644 --- a/prototype/src/main/java/org/hso/ecommerce/entities/ArticleOffer.java +++ b/prototype/src/main/java/org/hso/ecommerce/entities/supplier/ArticleOffer.java @@ -1,4 +1,4 @@ -package org.hso.ecommerce.entities; +package org.hso.ecommerce.entities.supplier; import javax.persistence.*; import javax.validation.constraints.NotNull; diff --git a/prototype/src/main/java/org/hso/ecommerce/entities/Supplier.java b/prototype/src/main/java/org/hso/ecommerce/entities/supplier/Supplier.java similarity index 88% rename from prototype/src/main/java/org/hso/ecommerce/entities/Supplier.java rename to prototype/src/main/java/org/hso/ecommerce/entities/supplier/Supplier.java index 5ae9794..7649ea2 100644 --- a/prototype/src/main/java/org/hso/ecommerce/entities/Supplier.java +++ b/prototype/src/main/java/org/hso/ecommerce/entities/supplier/Supplier.java @@ -1,4 +1,4 @@ -package org.hso.ecommerce.entities; +package org.hso.ecommerce.entities.supplier; import javax.persistence.*; import javax.validation.constraints.NotNull; diff --git a/prototype/src/main/java/org/hso/ecommerce/entities/SupplierOrder.java b/prototype/src/main/java/org/hso/ecommerce/entities/supplier/SupplierOrder.java similarity index 94% rename from prototype/src/main/java/org/hso/ecommerce/entities/SupplierOrder.java rename to prototype/src/main/java/org/hso/ecommerce/entities/supplier/SupplierOrder.java index 80bb818..e92339c 100644 --- a/prototype/src/main/java/org/hso/ecommerce/entities/SupplierOrder.java +++ b/prototype/src/main/java/org/hso/ecommerce/entities/supplier/SupplierOrder.java @@ -1,4 +1,4 @@ -package org.hso.ecommerce.entities; +package org.hso.ecommerce.entities.supplier; import javax.persistence.*; import javax.validation.constraints.NotNull; diff --git a/prototype/src/main/java/org/hso/ecommerce/entities/User.java b/prototype/src/main/java/org/hso/ecommerce/entities/user/User.java similarity index 86% rename from prototype/src/main/java/org/hso/ecommerce/entities/User.java rename to prototype/src/main/java/org/hso/ecommerce/entities/user/User.java index 5d023cf..9b07996 100644 --- a/prototype/src/main/java/org/hso/ecommerce/entities/User.java +++ b/prototype/src/main/java/org/hso/ecommerce/entities/user/User.java @@ -1,5 +1,7 @@ -package org.hso.ecommerce.entities; +package org.hso.ecommerce.entities.user; +import org.hso.ecommerce.entities.booking.PaymentMethod; +import org.hso.ecommerce.entities.shop.Address; import org.springframework.security.crypto.bcrypt.BCrypt; import javax.persistence.*; diff --git a/prototype/src/main/java/org/hso/ecommerce/db/repos/UserRepository.java b/prototype/src/main/java/org/hso/ecommerce/entities/user/UserRepository.java similarity index 81% rename from prototype/src/main/java/org/hso/ecommerce/db/repos/UserRepository.java rename to prototype/src/main/java/org/hso/ecommerce/entities/user/UserRepository.java index 5940480..fcbc891 100644 --- a/prototype/src/main/java/org/hso/ecommerce/db/repos/UserRepository.java +++ b/prototype/src/main/java/org/hso/ecommerce/entities/user/UserRepository.java @@ -1,6 +1,6 @@ -package org.hso.ecommerce.db.repos; +package org.hso.ecommerce.entities.user; -import org.hso.ecommerce.entities.User; +import org.hso.ecommerce.entities.user.User; import org.springframework.data.jpa.repository.JpaRepository; import org.springframework.data.jpa.repository.Query; import org.springframework.stereotype.Repository; diff --git a/prototype/src/main/java/org/hso/ecommerce/entities/WarehouseBooking.java b/prototype/src/main/java/org/hso/ecommerce/entities/warehouse/WarehouseBooking.java similarity index 92% rename from prototype/src/main/java/org/hso/ecommerce/entities/WarehouseBooking.java rename to prototype/src/main/java/org/hso/ecommerce/entities/warehouse/WarehouseBooking.java index b6501ef..97a2805 100644 --- a/prototype/src/main/java/org/hso/ecommerce/entities/WarehouseBooking.java +++ b/prototype/src/main/java/org/hso/ecommerce/entities/warehouse/WarehouseBooking.java @@ -1,4 +1,4 @@ -package org.hso.ecommerce.entities; +package org.hso.ecommerce.entities.warehouse; import javax.persistence.*; import javax.validation.constraints.NotNull; diff --git a/prototype/src/main/java/org/hso/ecommerce/entities/WarehouseBookingPosition.java b/prototype/src/main/java/org/hso/ecommerce/entities/warehouse/WarehouseBookingPosition.java similarity index 87% rename from prototype/src/main/java/org/hso/ecommerce/entities/WarehouseBookingPosition.java rename to prototype/src/main/java/org/hso/ecommerce/entities/warehouse/WarehouseBookingPosition.java index 9cf35f0..88ceee3 100644 --- a/prototype/src/main/java/org/hso/ecommerce/entities/WarehouseBookingPosition.java +++ b/prototype/src/main/java/org/hso/ecommerce/entities/warehouse/WarehouseBookingPosition.java @@ -1,4 +1,6 @@ -package org.hso.ecommerce.entities; +package org.hso.ecommerce.entities.warehouse; + +import org.hso.ecommerce.entities.shop.Article; import javax.persistence.*; diff --git a/prototype/src/main/java/org/hso/ecommerce/entities/WarehouseBookingPositionSlotEntry.java b/prototype/src/main/java/org/hso/ecommerce/entities/warehouse/WarehouseBookingPositionSlotEntry.java similarity index 79% rename from prototype/src/main/java/org/hso/ecommerce/entities/WarehouseBookingPositionSlotEntry.java rename to prototype/src/main/java/org/hso/ecommerce/entities/warehouse/WarehouseBookingPositionSlotEntry.java index 3ea0d57..7529e4f 100644 --- a/prototype/src/main/java/org/hso/ecommerce/entities/WarehouseBookingPositionSlotEntry.java +++ b/prototype/src/main/java/org/hso/ecommerce/entities/warehouse/WarehouseBookingPositionSlotEntry.java @@ -1,4 +1,6 @@ -package org.hso.ecommerce.entities; +package org.hso.ecommerce.entities.warehouse; + +import org.hso.ecommerce.entities.shop.Article; import javax.persistence.*; diff --git a/prototype/src/main/java/org/hso/ecommerce/entities/WarehouseBookingReason.java b/prototype/src/main/java/org/hso/ecommerce/entities/warehouse/WarehouseBookingReason.java similarity index 72% rename from prototype/src/main/java/org/hso/ecommerce/entities/WarehouseBookingReason.java rename to prototype/src/main/java/org/hso/ecommerce/entities/warehouse/WarehouseBookingReason.java index 0fd4834..ec60c4d 100644 --- a/prototype/src/main/java/org/hso/ecommerce/entities/WarehouseBookingReason.java +++ b/prototype/src/main/java/org/hso/ecommerce/entities/warehouse/WarehouseBookingReason.java @@ -1,4 +1,7 @@ -package org.hso.ecommerce.entities; +package org.hso.ecommerce.entities.warehouse; + +import org.hso.ecommerce.entities.shop.CustomerOrder; +import org.hso.ecommerce.entities.supplier.SupplierOrder; import javax.persistence.*; diff --git a/prototype/src/main/java/org/hso/ecommerce/intern/customers/order/RequestController.java b/prototype/src/main/java/org/hso/ecommerce/intern/customers/order/RequestController.java deleted file mode 100644 index 4bd43b6..0000000 --- a/prototype/src/main/java/org/hso/ecommerce/intern/customers/order/RequestController.java +++ /dev/null @@ -1,8 +0,0 @@ -package org.hso.ecommerce.intern.customers.order; - -import org.springframework.stereotype.Controller; - -@Controller -//@RequestMapping("...") -public class RequestController { -} diff --git a/prototype/src/main/java/org/hso/ecommerce/intern/suppliers/RequestController.java b/prototype/src/main/java/org/hso/ecommerce/intern/suppliers/RequestController.java deleted file mode 100644 index 375b0eb..0000000 --- a/prototype/src/main/java/org/hso/ecommerce/intern/suppliers/RequestController.java +++ /dev/null @@ -1,8 +0,0 @@ -package org.hso.ecommerce.intern.suppliers; - -import org.springframework.stereotype.Controller; - -@Controller -//@RequestMapping("...") -public class RequestController { -} diff --git a/prototype/src/main/java/org/hso/ecommerce/intern/suppliers/offer/RequestController.java b/prototype/src/main/java/org/hso/ecommerce/intern/suppliers/offer/RequestController.java deleted file mode 100644 index f295ae6..0000000 --- a/prototype/src/main/java/org/hso/ecommerce/intern/suppliers/offer/RequestController.java +++ /dev/null @@ -1,8 +0,0 @@ -package org.hso.ecommerce.intern.suppliers.offer; - -import org.springframework.stereotype.Controller; - -@Controller -//@RequestMapping("...") -public class RequestController { -} diff --git a/prototype/src/main/java/org/hso/ecommerce/intern/suppliers/order/RequestController.java b/prototype/src/main/java/org/hso/ecommerce/intern/suppliers/order/RequestController.java deleted file mode 100644 index cd9fe09..0000000 --- a/prototype/src/main/java/org/hso/ecommerce/intern/suppliers/order/RequestController.java +++ /dev/null @@ -1,8 +0,0 @@ -package org.hso.ecommerce.intern.suppliers.order; - -import org.springframework.stereotype.Controller; - -@Controller -//@RequestMapping("...") -public class RequestController { -} diff --git a/prototype/src/main/java/org/hso/ecommerce/intern/warehouse/RequestController.java b/prototype/src/main/java/org/hso/ecommerce/intern/warehouse/RequestController.java deleted file mode 100644 index 0baac54..0000000 --- a/prototype/src/main/java/org/hso/ecommerce/intern/warehouse/RequestController.java +++ /dev/null @@ -1,8 +0,0 @@ -package org.hso.ecommerce.intern.warehouse; - -import org.springframework.stereotype.Controller; - -@Controller -//@RequestMapping("...") -public class RequestController { -} diff --git a/prototype/src/main/java/org/hso/ecommerce/shop/checkout/RequestController.java b/prototype/src/main/java/org/hso/ecommerce/shop/checkout/RequestController.java deleted file mode 100644 index 964f258..0000000 --- a/prototype/src/main/java/org/hso/ecommerce/shop/checkout/RequestController.java +++ /dev/null @@ -1,8 +0,0 @@ -package org.hso.ecommerce.shop.checkout; - -import org.springframework.stereotype.Controller; - -@Controller -//@RequestMapping("...") -public class RequestController { -} diff --git a/prototype/src/main/java/org/hso/ecommerce/shop/search/RequestController.java b/prototype/src/main/java/org/hso/ecommerce/shop/search/RequestController.java deleted file mode 100644 index 40c349b..0000000 --- a/prototype/src/main/java/org/hso/ecommerce/shop/search/RequestController.java +++ /dev/null @@ -1,8 +0,0 @@ -package org.hso.ecommerce.shop.search; - -import org.springframework.stereotype.Controller; - -@Controller -//@RequestMapping("...") -public class RequestController { -} -- 2.47.1