| | |
| | | package com.ruoyi.common.core.domain.entity; |
| | | |
| | | import java.util.ArrayList; |
| | | import java.util.Date; |
| | | import java.util.List; |
| | | import java.util.Map; |
| | | import javax.validation.constraints.*; |
| | | |
| | | import io.swagger.annotations.ApiModel; |
| | |
| | | private String userName; |
| | | |
| | | /** |
| | | * 患者范围:0:全部;1:科室2:病区; |
| | | */ |
| | | @ApiModelProperty(value = "患者范围:0:全部;1:科室2:病区;") |
| | | @Excel(name = "患者范围:0:全部;1:科室2:病区;") |
| | | private String searchscope; |
| | | |
| | | /** |
| | | * 用户昵称 |
| | | */ |
| | | @ApiModelProperty(value = "用户昵称") |
| | |
| | | private String email; |
| | | |
| | | /** |
| | | * 用户类型(00系统用户) |
| | | */ |
| | | @ApiModelProperty(value = "用户类型(00系统用户)") |
| | | @Excel(name = "用户类型(00系统用户)") |
| | | private String userType; |
| | | |
| | | /** |
| | | * 手机号码 |
| | | */ |
| | | @ApiModelProperty(value = "手机号码") |
| | | @Excel(name = "手机号码") |
| | | private String phonenumber; |
| | | |
| | | /** |
| | | * 身份证号 |
| | | */ |
| | | @ApiModelProperty(value = "身份证号") |
| | | @Excel(name = "身份证号") |
| | | private String idCard; |
| | | |
| | | /** |
| | | * 用户性别 |
| | |
| | | private Date loginDate; |
| | | |
| | | /** |
| | | * 院区信息 |
| | | */ |
| | | @ApiModelProperty(value = "院区信息") |
| | | private String hospInfo; |
| | | /** |
| | | * 科室信息 |
| | | */ |
| | | @ApiModelProperty(value = "科室信息") |
| | | private String deptInfo; |
| | | |
| | | /** |
| | | * 部门对象 |
| | | */ |
| | | @ApiModelProperty(value = "部门对象") |
| | |
| | | |
| | | @ApiModelProperty(value = "部门集合") |
| | | private List<Long> depts; |
| | | |
| | | @ApiModelProperty(value = "病区编码集合") |
| | | private List<String> wardCodes; |
| | | |
| | | @ApiModelProperty(value = "部门编码集合") |
| | | private List<String> deptCodes; |
| | | |
| | | /** |
| | | * 角色对象 |
| | |
| | | @ApiModelProperty(value = "角色ID") |
| | | private Long roleId; |
| | | |
| | | |
| | | /** |
| | | * 病区编码 |
| | | */ |
| | | @ApiModelProperty("病区集合") |
| | | private List<Map<String, Object>> belongWards = new ArrayList(); |
| | | |
| | | /** |
| | | * 科室编码 |
| | | */ |
| | | @ApiModelProperty("科室集合") |
| | | private List<Map<String, Object>> belongDepts = new ArrayList(); |
| | | |
| | | |
| | | public SysUser() { |
| | | |
| | | } |
| | | |
| | | public List<Map<String, Object>> getBelongWards() { |
| | | return belongWards; |
| | | } |
| | | |
| | | public void setBelongWards(List<Map<String, Object>> belongWards) { |
| | | this.belongWards = belongWards; |
| | | } |
| | | |
| | | public List<Map<String, Object>> getBelongDepts() { |
| | | return belongDepts; |
| | | } |
| | | |
| | | public List<String> getWardCodes() { |
| | | return wardCodes; |
| | | } |
| | | |
| | | public void setWardCodes(List<String> wardCodes) { |
| | | this.wardCodes = wardCodes; |
| | | } |
| | | |
| | | public List<String> getDeptCodes() { |
| | | return deptCodes; |
| | | } |
| | | |
| | | public void setDeptCodes(List<String> deptCodes) { |
| | | this.deptCodes = deptCodes; |
| | | } |
| | | |
| | | public void setBelongDepts(List<Map<String, Object>> belongDepts) { |
| | | this.belongDepts = belongDepts; |
| | | } |
| | | |
| | | public String getSearchscope() { |
| | | return searchscope; |
| | | } |
| | | |
| | | public void setSearchscope(String searchscope) { |
| | | this.searchscope = searchscope; |
| | | } |
| | | |
| | | public String getHospInfo() { |
| | | return hospInfo; |
| | | } |
| | | |
| | | public void setHospInfo(String hospInfo) { |
| | | this.hospInfo = hospInfo; |
| | | } |
| | | |
| | | public String getDeptInfo() { |
| | | return deptInfo; |
| | | } |
| | | |
| | | public void setDeptInfo(String deptInfo) { |
| | | this.deptInfo = deptInfo; |
| | | } |
| | | |
| | | public SysUser(Long userId) { |
| | |
| | | @Size(min = 0, max = 50, message = "邮箱长度不能超过50个字符") |
| | | public String getEmail() { |
| | | return email; |
| | | } |
| | | |
| | | public void setUserType(String userType) { |
| | | this.userType = userType; |
| | | } |
| | | |
| | | public String getUserType() { |
| | | return userType; |
| | | } |
| | | |
| | | public void setEmail(String email) { |
| | |
| | | this.depts = depts; |
| | | } |
| | | |
| | | public String getIdCard() { |
| | | return idCard; |
| | | } |
| | | |
| | | public void setIdCard(String idCard) { |
| | | this.idCard = idCard; |
| | | } |
| | | |
| | | @Override |
| | | public String toString() { |
| | | return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE).append("userId", getUserId()).append("deptId", getDeptId()).append("userName", getUserName()).append("nickName", getNickName()).append("email", getEmail()).append("phonenumber", getPhonenumber()).append("sex", getSex()).append("avatar", getAvatar()).append("password", getPassword()).append("status", getStatus()).append("delFlag", getDelFlag()).append("loginIp", getLoginIp()).append("loginDate", getLoginDate()).append("createBy", getCreateBy()).append("createTime", getCreateTime()).append("updateBy", getUpdateBy()).append("updateTime", getUpdateTime()).append("remark", getRemark()).append("dept", getDept()).toString(); |