package io.crowdcode.flaschenlager.stock.model;

import lombok.AllArgsConstructor;
import lombok.EqualsAndHashCode;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
import lombok.ToString;
import lombok.experimental.Accessors;

import java.math.BigDecimal;

@Getter
@Setter
@ToString
@EqualsAndHashCode
@Accessors(chain = true)
@AllArgsConstructor
@NoArgsConstructor
public class StockEntryRequest {

    private Long productId;

    private Long quantity;

    private BigDecimal price;

}

@@ -253,38 +253,8 @@
 s;%0A%0A
-import java.math.BigDecimal;%0A%0A
 @Get
@@ -453,37 +453,6 @@
 y;%0A%0A
-    private BigDecimal price;%0A%0A
 %7D%0A

add stock entry request