package com.qxueyou.scc.portal.expert.vo; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; import org.hibernate.validator.constraints.NotBlank; import javax.validation.constraints.NotNull; /** * @author angy * @created by 2021/3/1 */ @ApiModel("ExpertVO") public class ExpertVO { @NotBlank(message = "专家ID不能为空!") @ApiModelProperty(name = "id", value = "专家Id", dataType = "string", required = true) private String id; public String getId() { return id; } public void setId(String id) { this.id = id; } //页码 @NotNull(message = "页码不能为空!") @ApiModelProperty(value = "页码", name = "page", dataType = "integer", required = true) private Integer page; //页数 @NotNull(message = "页数不能为空!") @ApiModelProperty(value = "页数", name = "size", dataType = "integer", required = true) private Integer size; //关键字 @ApiModelProperty(value = "搜索关键字", name = "keyword", dataType = "string") private String keyword; @ApiModelProperty(value = "专家名称", name = "nameExpert", dataType = "string") private String nameExpert; @ApiModelProperty(value = "职务", name = "job", dataType = "string") private String job; @ApiModelProperty(value = "国内单位", name = "domesticUnit", dataType = "string") private String domesticUnit; @ApiModelProperty(value = "外派单位", name = "dispatchedUnit", dataType = "string") private String dispatchedUnit; @ApiModelProperty(value = "专家照片", name = "expertImg", dataType = "string") private String expertImg; @ApiModelProperty(value = "个人简介", name = "personalInformation", dataType = "string") private String personalInformation; public Integer getPage() { return page; } public void setPage(Integer page) { this.page = page; } public Integer getSize() { return size; } public void setSize(Integer size) { this.size = size; } public String getKeyword() { return keyword; } public void setKeyword(String keyword) { this.keyword = keyword; } public String getNameExpert() { return nameExpert; } public void setNameExpert(String nameExpert) { this.nameExpert = nameExpert; } public String getJob() { return job; } public void setJob(String job) { this.job = job; } public String getDomesticUnit() { return domesticUnit; } public void setDomesticUnit(String domesticUnit) { this.domesticUnit = domesticUnit; } public String getDispatchedUnit() { return dispatchedUnit; } public void setDispatchedUnit(String dispatchedUnit) { this.dispatchedUnit = dispatchedUnit; } public String getExpertImg() { return expertImg; } public void setExpertImg(String expertImg) { this.expertImg = expertImg; } public String getPersonalInformation() { return personalInformation; } public void setPersonalInformation(String personalInformation) { this.personalInformation = personalInformation; } }