瀏覽代碼

fixed AddToCartDto

Makumbacz 3 年之前
父節點
當前提交
0d9932dedf
共有 1 個文件被更改,包括 0 次插入2 次删除
  1. 0 2
      src/main/java/com/example/plantsforyou/dto/AddToCartDto.java

+ 0 - 2
src/main/java/com/example/plantsforyou/dto/AddToCartDto.java

@@ -11,7 +11,6 @@ import lombok.Setter;
 @NoArgsConstructor
 @NoArgsConstructor
 @Setter
 @Setter
 @Getter
 @Getter
-@AllArgsConstructor
 public class AddToCartDto {
 public class AddToCartDto {
 
 
     /*
     /*
@@ -26,7 +25,6 @@ public class AddToCartDto {
     * \"inStock\":true,
     * \"inStock\":true,
     * \"amountInBasket\":2}]"
     * \"amountInBasket\":2}]"
     * */
     * */
-    Long id;
     private @NotNull Long plantId;
     private @NotNull Long plantId;
     private @NotNull Integer amountInBasket;
     private @NotNull Integer amountInBasket;