|  |  |  | 
|---|
|  |  |  | package com.doumee.dao.openapi.request; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | import com.doumee.core.utils.Date; | 
|---|
|  |  |  | import com.fasterxml.jackson.annotation.JsonFormat; | 
|---|
|  |  |  | import io.swagger.annotations.Api; | 
|---|
|  |  |  | import io.swagger.annotations.ApiModel; | 
|---|
|  |  |  | 
|---|
|  |  |  | import org.springframework.format.annotation.DateTimeFormat; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | import javax.validation.constraints.NotBlank; | 
|---|
|  |  |  | import java.util.Date; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | /** | 
|---|
|  |  |  | * Created by IntelliJ IDEA. | 
|---|
|  |  |  | 
|---|
|  |  |  | */ | 
|---|
|  |  |  | @Data | 
|---|
|  |  |  | @ApiModel("本月、上月、去年同月用水量请求参数") | 
|---|
|  |  |  | public class WaterByMonthRequest { | 
|---|
|  |  |  | public class WaterByMonthRequest extends HkBaseTokenRequest{ | 
|---|
|  |  |  |  | 
|---|
|  |  |  | @ApiModelProperty(value = "年月信息,格式:yyyy-MM",example = "2024-08") | 
|---|
|  |  |  | @JsonFormat(pattern = "yyyy-MM") | 
|---|
|  |  |  | private Date timeInfo; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | } | 
|---|