| | |
| | | package com.ruoyi.project.system.domain;
|
| | |
|
| | | import javax.validation.constraints.NotBlank;
|
| | | import javax.validation.constraints.NotNull;
|
| | | import javax.validation.constraints.Size;
|
| | | import org.apache.commons.lang3.builder.ToStringBuilder;
|
| | | import org.apache.commons.lang3.builder.ToStringStyle;
|
| | |
| | |
|
| | | /** 岗位排序 */
|
| | | @Excel(name = "岗位排序")
|
| | | private String postSort;
|
| | | private Integer postSort;
|
| | |
|
| | | /** 状态(0正常 1停用) */
|
| | | @Excel(name = "状态", readConverterExp = "0=正常,1=停用")
|
| | |
| | | this.postName = postName;
|
| | | }
|
| | |
|
| | | @NotBlank(message = "显示顺序不能为空")
|
| | | public String getPostSort()
|
| | | @NotNull(message = "显示顺序不能为空")
|
| | | public Integer getPostSort()
|
| | | {
|
| | | return postSort;
|
| | | }
|
| | |
|
| | | public void setPostSort(String postSort)
|
| | | public void setPostSort(Integer postSort)
|
| | | {
|
| | | this.postSort = postSort;
|
| | | }
|