Seller Dashboard - Copy this React, Tailwind Component to your project
here is the get products by supplier DTO public class ProductDTO { private String productId; private String supplierId; private String name; private String imageUrl; private String productDescription; private String categoryName; private int stock; private BigDecimal price; } and here is the product catelog change request public class ProductCatalogChangeRequest { private String productId; private String supplierId; private String newDescription; private String newImageUrl; private int stock; private BigDecimal newPrice; } it comes as list of this and here is the get order DTO public class Order { private String orderId; private String customerId; private double totalPrice; private List<Item> items; } @NoArgsConstructor public class Item { private String productId; private String supplierId; private int quantity; private double quantityPrice; }
