| | |
| | | package com.panzhihua.common.model.dtos.community; |
| | | |
| | | import javax.validation.constraints.NotNull; |
| | | import javax.validation.constraints.Pattern; |
| | | |
| | | import com.google.common.base.CaseFormat; |
| | | import com.panzhihua.common.model.helper.encrypt.EncryptQuery; |
| | | import com.panzhihua.common.model.helper.encrypt.EncryptQueryClass; |
| | | |
| | | import io.swagger.annotations.ApiModel; |
| | | import io.swagger.annotations.ApiModelProperty; |
| | | import lombok.Data; |
| | | |
| | | import javax.validation.constraints.NotNull; |
| | | import javax.validation.constraints.Pattern; |
| | | |
| | | /** |
| | | * 高领老人分页查询条件 |
| | |
| | | * @author cedoo email:cedoo(a)qq.com |
| | | * @version 1.0 |
| | | * @since 1.0 |
| | | * */ |
| | | */ |
| | | @Data |
| | | @ApiModel("生存认证记录分页查询条件") |
| | | @EncryptQueryClass |
| | |
| | | |
| | | @ApiModelProperty(value = "排序方式: asc/desc(默认)", example = "desc", position = 4) |
| | | @Pattern(regexp = "asc|desc|ASC|DESC") |
| | | private String sortType="desc"; |
| | | private String sortType = "desc"; |
| | | |
| | | @ApiModelProperty(value = "排序字段, 默认createAt", example = "createAt", position = 3) |
| | | private String sortAttr="createAt"; |
| | | |
| | | @ApiModelProperty(value = "排序列", example = "create_at", hidden = true) |
| | | public String getSortColumns(){ |
| | | String dbColumn = CaseFormat.LOWER_CAMEL.to(CaseFormat.LOWER_UNDERSCORE, sortAttr); |
| | | return dbColumn; |
| | | } |
| | | |
| | | private String sortAttr = "createAt"; |
| | | @ApiModelProperty(value = "姓名", example = "妞妞") |
| | | private String name; |
| | | |
| | | @EncryptQuery |
| | | @ApiModelProperty(value = "身份证号码") |
| | | private String idCard; |
| | | |
| | | @ApiModelProperty(value = "认证方式(1.视频认证 2.人脸核验)",example = "1") |
| | | @ApiModelProperty(value = "认证方式(1.视频认证 2.人脸核验)", example = "1") |
| | | private Integer type; |
| | | |
| | | @ApiModelProperty(value = "认证时间(月份)",example = "1") |
| | | @ApiModelProperty(value = "认证时间(月份)", example = "1") |
| | | private Integer month; |
| | | |
| | | @ApiModelProperty(value = "排序列", example = "create_at", hidden = true) |
| | | public String getSortColumns() { |
| | | String dbColumn = CaseFormat.LOWER_CAMEL.to(CaseFormat.LOWER_UNDERSCORE, sortAttr); |
| | | return dbColumn; |
| | | } |
| | | |
| | | } |