package com.czg.product.dto.storage;

import jakarta.validation.constraints.Min;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

import javax.swing.*;

/**
 *
 * @author Administrator
 */
@Data
public class ShopStorageEditDTO {
    /**
     * 存酒id
     */
    @NotNull(message = "存酒id不为空")
    private Integer id;
    /**
     * 正数为存酒反之为取酒
     */
    @NotNull(message = "数量不为空")
    private Integer num;
}
