| | |
| | | import io.swagger.annotations.ApiModelProperty; |
| | | import lombok.Data; |
| | | |
| | | import javax.validation.constraints.NotBlank; |
| | | import javax.validation.constraints.NotNull; |
| | | |
| | | /** |
| | | * @author HJL |
| | | * @version 1.0 |
| | |
| | | * 商品id |
| | | */ |
| | | @ApiModelProperty("商品id") |
| | | @NotNull(message = "选择商品不存在!") |
| | | private Integer goodId; |
| | | |
| | | /** |
| | |
| | | * 兑换数量 |
| | | */ |
| | | @ApiModelProperty("兑换数量") |
| | | @NotNull(message = "兑换数量不能为空!") |
| | | private Integer number; |
| | | |
| | | /** |
| | | * 订单编号 |
| | | */ |
| | | @ApiModelProperty("订单编号") |
| | | @NotBlank(message = "订单编号不能为空!") |
| | | private String orderNumber; |
| | | |
| | | /** |
| | | * 收货地址id |
| | | */ |
| | | @ApiModelProperty("收货地址id") |
| | | @NotNull(message = "请选择:该订单收货地址!") |
| | | private String recipientId; |
| | | |
| | | } |