| | |
| | | package com.ycl.api; |
| | | |
| | | import com.baomidou.mybatisplus.annotation.TableField; |
| | | import io.swagger.annotations.ApiModel; |
| | | import io.swagger.annotations.ApiModelProperty; |
| | | import lombok.Data; |
| | |
| | | |
| | | @ApiModelProperty(value = "当前页",example = "1") |
| | | @Min(value = 1, message = "最小页数1") |
| | | @TableField(value = "current",exist = false) |
| | | private int current = 1; |
| | | |
| | | @ApiModelProperty(value = "条数",example = "1") |
| | | @Min(value = 1, message = "最小条数1") |
| | | @Max(value = 100, message = "最大条数100") |
| | | @TableField(value = "page_size",exist = false) |
| | | private int pageSize = 20; |
| | | |
| | | |
| | | } |