| | |
| | | import javax.validation.constraints.*; |
| | | import org.apache.commons.lang3.builder.ToStringBuilder; |
| | | import org.apache.commons.lang3.builder.ToStringStyle; |
| | | import com.ruoyi.common.core.annotation.Excel; |
| | | import com.ruoyi.common.core.annotation.Excel.ColumnType; |
| | | import com.ruoyi.common.core.annotation.Excel.Type; |
| | | import com.ruoyi.common.core.annotation.Excels; |
| | | import com.ruoyi.common.core.web.domain.BaseEntity; |
| | | import com.ruoyi.common.core.xss.Xss; |
| | | import com.se.common.core.annotation.Excel; |
| | | import com.se.common.core.annotation.Excel.ColumnType; |
| | | import com.se.common.core.annotation.Excel.Type; |
| | | import com.se.common.core.annotation.Excels; |
| | | import com.se.common.core.web.domain.BaseEntity; |
| | | import com.se.common.core.xss.Xss; |
| | | |
| | | /** |
| | | * 用户对象 sys_user |
| | |
| | | /** 用户昵称 */ |
| | | @Excel(name = "用户名称") |
| | | private String nickName; |
| | | |
| | | /** 密级类型 */ |
| | | @Excel(name = "密级类型") |
| | | private String secretLevel; |
| | | |
| | | /** 用户邮箱 */ |
| | | @Excel(name = "用户邮箱") |
| | |
| | | this.deptId = deptId; |
| | | } |
| | | |
| | | @Xss(message = "密级类型不能包含脚本字符") |
| | | @Size(min = 1, max = 2, message = "密级类型长度不能超过2个字符") |
| | | public String getSecretLevel() { |
| | | return secretLevel; |
| | | } |
| | | |
| | | public void setSecretLevel(String secretLevel) { |
| | | this.secretLevel = secretLevel; |
| | | } |
| | | |
| | | @Xss(message = "用户昵称不能包含脚本字符") |
| | | @Size(min = 0, max = 30, message = "用户昵称长度不能超过30个字符") |
| | | public String getNickName() |