| package com.ruoyi.system.dto; | 
|   | 
| import io.swagger.annotations.ApiModel; | 
| import io.swagger.annotations.ApiModelProperty; | 
| import lombok.Data; | 
|   | 
| import javax.validation.constraints.NotBlank; | 
| import javax.validation.constraints.NotNull; | 
|   | 
|   | 
| @Data | 
| @ApiModel("诊所兑换商品dto") | 
| public class ExchangeGoodsDto { | 
|     @ApiModelProperty("商品id") | 
|     @NotBlank(message = "商品id不能为空") | 
|     private String goodsId; | 
|   | 
|     @ApiModelProperty("数量") | 
|     @NotNull(message = "数量不能为空") | 
|     private Integer count; | 
| } |