package com.cyksj.model.request;

import lombok.Getter;
import lombok.Setter;

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

/**
 * @author chan
 * @date 2022/12/7 5:35 PM
 */
@Getter
@Setter
public class StockUpReq {


    @NotNull(message = "缺少库存id")
    private Long id;

    @NotNull(message = "缺少数量")
    private Integer num;

    private BigDecimal price;

    private String voucher;

    private String remark;
}
