登录成功
This commit is contained in:
@@ -3,13 +3,13 @@ package org.xyzh.common.dto.user;
|
||||
import org.xyzh.common.dto.BaseDTO;
|
||||
|
||||
/**
|
||||
* @description TbSysUserRole.java文件描述 用户角色
|
||||
* @filename TbSysUserRole.java
|
||||
* @description TbSysUserDeptRole.java文件描述 用户部门角色
|
||||
* @filename TbSysUserDeptRole.java
|
||||
* @author yslg
|
||||
* @copyright xyzh
|
||||
* @since 2025-09-26
|
||||
*/
|
||||
public class TbSysUserRole extends BaseDTO{
|
||||
public class TbSysUserDeptRole extends BaseDTO{
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
@@ -20,6 +20,13 @@ public class TbSysUserRole extends BaseDTO{
|
||||
*/
|
||||
private String userID;
|
||||
|
||||
/**
|
||||
* @description 部门ID
|
||||
* @author yslg
|
||||
* @since 2024-06
|
||||
*/
|
||||
private String deptID;
|
||||
|
||||
/**
|
||||
* @description 角色ID
|
||||
* @author yslg
|
||||
@@ -49,6 +56,14 @@ public class TbSysUserRole extends BaseDTO{
|
||||
this.userID = userID;
|
||||
}
|
||||
|
||||
public String getDeptID() {
|
||||
return deptID;
|
||||
}
|
||||
|
||||
public void setDeptID(String deptID) {
|
||||
this.deptID = deptID;
|
||||
}
|
||||
|
||||
public String getRoleID() {
|
||||
return roleID;
|
||||
}
|
||||
@@ -75,9 +90,10 @@ public class TbSysUserRole extends BaseDTO{
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return "TbSysUserRole{" +
|
||||
return "TbSysUserDeptRole{" +
|
||||
"id='" + getID() + '\'' +
|
||||
", userID='" + userID + '\'' +
|
||||
", deptID='" + deptID + '\'' +
|
||||
", roleID='" + roleID + '\'' +
|
||||
", creator='" + creator + '\'' +
|
||||
", updater='" + updater + '\'' +
|
||||
@@ -0,0 +1,26 @@
|
||||
package org.xyzh.common.vo;
|
||||
|
||||
import org.xyzh.common.dto.dept.TbSysDept;
|
||||
import org.xyzh.common.dto.role.TbSysRole;
|
||||
|
||||
public class DeptRoleVO {
|
||||
|
||||
private TbSysDept dept;
|
||||
private TbSysRole role;
|
||||
|
||||
public TbSysDept getDept() {
|
||||
return dept;
|
||||
}
|
||||
|
||||
public void setDept(TbSysDept dept) {
|
||||
this.dept = dept;
|
||||
}
|
||||
|
||||
public TbSysRole getRole() {
|
||||
return role;
|
||||
}
|
||||
|
||||
public void setRole(TbSysRole role) {
|
||||
this.role = role;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,25 @@
|
||||
package org.xyzh.common.vo;
|
||||
|
||||
public class UserVO {
|
||||
|
||||
private String id;
|
||||
private String userID;
|
||||
private String username;
|
||||
private String email;
|
||||
private String phone;
|
||||
private String wechatID;
|
||||
private String avatar;
|
||||
private String gender;
|
||||
private String familyName;
|
||||
private String givenName;
|
||||
private String fullName;
|
||||
private String idCard;
|
||||
private String address;
|
||||
private String createTime;
|
||||
private String updateTime;
|
||||
private String deleteTime;
|
||||
private String deleted;
|
||||
private String status;
|
||||
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user