| | |
| | | package com.gkhy.system.domain.vo.request; |
| | | |
| | | public class SysExpertSearchReqDto { |
| | | import io.swagger.annotations.ApiModel; |
| | | import io.swagger.annotations.ApiModelProperty; |
| | | import lombok.Data; |
| | | import org.hibernate.validator.constraints.Length; |
| | | |
| | | import javax.validation.constraints.NotBlank; |
| | | import javax.validation.constraints.NotNull; |
| | | import javax.validation.constraints.Pattern; |
| | | import java.io.Serializable; |
| | | |
| | | /** |
| | | * @author admin |
| | | */ |
| | | @Data |
| | | @ApiModel(value = "专家查询信息审核", description = "专家查询信息审核") |
| | | public class SysExpertSearchReqDto implements Serializable { |
| | | private static final long serialVersionUID = 1L; |
| | | |
| | | @NotBlank(message ="手机号不能为空" ) |
| | | @Length(min = 11, max = 11, message = "手机号只能为11位") |
| | | @Pattern(regexp = "^[1][3,4,5,6,7,8,9][0-9]{9}$",message = "手机号码有误!") |
| | | @ApiModelProperty("手机号") |
| | | private String phone; |
| | | |
| | | @NotBlank(message ="身份证号码不能为空" ) |
| | | @Length(min = 18, max = 18, message = "身份证只能为18位") |
| | | @ApiModelProperty("身份证号码") |
| | | private String idCard; |
| | | |
| | | @NotNull(message ="业务处室不能为空" ) |
| | | @ApiModelProperty("业务处室") |
| | | private Long deptId; |
| | | } |