package cn.ysk.cashier.dto.product;

import lombok.Data;
import org.yaml.snakeyaml.events.Event;

import javax.validation.constraints.Min;
import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.math.BigDecimal;

@Data
public class TbProductStocktakinDTO {
    private Integer skuId;
    @NotNull
    private Integer shopId;
    @NotNull
    private Integer productId;
    @NotNull
    @Min(0)
    private Integer stocktakinNum;
    private BigDecimal price;
    private String note;
}
