13 changed files with 240 additions and 8 deletions
@ -0,0 +1,43 @@ |
|||
package com.elink.esua.epdc.dto.item.form; |
|||
|
|||
import lombok.Data; |
|||
|
|||
import javax.validation.constraints.Min; |
|||
import javax.validation.constraints.NotBlank; |
|||
import java.io.Serializable; |
|||
|
|||
/** |
|||
* @Author LC |
|||
* @Date 2019/9/9 16:24 |
|||
*/ |
|||
@Data |
|||
public class PeopleItemFormDTO implements Serializable { |
|||
private static final long serialVersionUID = -3034807666143092535L; |
|||
|
|||
/** |
|||
* 用户id |
|||
*/ |
|||
private String userId; |
|||
|
|||
/** |
|||
* 搜索内容 |
|||
*/ |
|||
private String searchContent; |
|||
|
|||
/** |
|||
* 诉求分类:0民生 1发展 |
|||
*/ |
|||
@NotBlank(message = "诉求分类不可为空") |
|||
private String peopleFlag; |
|||
/** |
|||
* 页码,从1开始 |
|||
*/ |
|||
@Min(value = 1, message = "页码必须大于0") |
|||
private int pageIndex; |
|||
/** |
|||
* 页容量,默认20页 |
|||
*/ |
|||
@Min(value = 1, message = "每页条数必须大于必须大于0") |
|||
private int pageSize = 20; |
|||
|
|||
} |
Loading…
Reference in new issue