4 changed files with 62 additions and 0 deletions
@ -0,0 +1,25 @@ |
|||
package com.ccsens.wisdomcar.bean.dto; |
|||
|
|||
import io.swagger.annotations.ApiModel; |
|||
import io.swagger.annotations.ApiModelProperty; |
|||
import lombok.Data; |
|||
|
|||
import javax.validation.constraints.NotBlank; |
|||
import javax.validation.constraints.NotNull; |
|||
|
|||
/** |
|||
* 1007 |
|||
*/ |
|||
@Data |
|||
public class StatisticsDto { |
|||
@Data |
|||
@ApiModel("查询小车本年和往年使用次数") |
|||
public static class UseNum{ |
|||
@NotBlank |
|||
@ApiModelProperty("year") |
|||
private String year; |
|||
@NotNull |
|||
@ApiModelProperty("医院id") |
|||
private Long hospitalId; |
|||
} |
|||
} |
@ -0,0 +1,28 @@ |
|||
package com.ccsens.wisdomcar.bean.vo; |
|||
|
|||
import io.swagger.annotations.ApiModel; |
|||
import io.swagger.annotations.ApiModelProperty; |
|||
import lombok.Data; |
|||
|
|||
import javax.validation.constraints.NotBlank; |
|||
import javax.validation.constraints.NotNull; |
|||
import java.util.List; |
|||
|
|||
/** |
|||
* 1007 |
|||
*/ |
|||
@Data |
|||
public class StatisticsVo { |
|||
@Data |
|||
@ApiModel("查询小车本年和往年使用次数") |
|||
public static class UseNumVo{ |
|||
@ApiModelProperty("本年单月") |
|||
private List<Integer> sigleNow; |
|||
@ApiModelProperty("本年和") |
|||
private List<Integer> sumNow; |
|||
@ApiModelProperty("去年单月") |
|||
private List<Integer> sigleLast; |
|||
@ApiModelProperty("去年年和") |
|||
private List<Integer> sumLast; |
|||
} |
|||
} |
Loading…
Reference in new issue