| package com.doumee.dao.openapi.response; | 
|   | 
| import io.swagger.annotations.ApiModel; | 
| import io.swagger.annotations.ApiModelProperty; | 
| import lombok.Data; | 
|   | 
| import javax.validation.constraints.NotBlank; | 
| import java.math.BigDecimal; | 
|   | 
| /** | 
|  * Created by IntelliJ IDEA. | 
|  * | 
|  * @Author : Rk | 
|  * @create 2023/12/7 11:19 | 
|  */ | 
| @Data | 
| @ApiModel("本月、上月、去年同月用水量返回参数") | 
| public class WaterByMonthResponse { | 
|   | 
|     @ApiModelProperty(value = "本月用水量(吨)", example = "1") | 
|     private BigDecimal currentMonth; | 
|   | 
|     @ApiModelProperty(value = "上个月用水量(吨)", example = "1") | 
|     private BigDecimal lastMonth; | 
|   | 
|     @ApiModelProperty(value = "去年同月用水量(吨)", example = "1") | 
|     private BigDecimal lastYearMonth; | 
|   | 
| } |