package com.ruoyi.controller.req;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotNull;

/**
 * @author a
 * @date 2023/2/14 13:59
 */
@Data
@Accessors(chain = true)
public class MallSettlementReq {

    @NotNull(message = "规格id不能为空")
    @ApiModelProperty(value = "规格id", required = true)
    private Long specId;

    @NotNull(message = "数量不能为空")
    @ApiModelProperty(value = "数量", required = true)
    private Integer quantity;
}
