|
@@ -1,5 +1,6 @@
|
|
|
package com.ruoyi.common.core.domain.entity;
|
|
|
|
|
|
+import com.baomidou.mybatisplus.annotation.TableField;
|
|
|
import com.baomidou.mybatisplus.annotation.TableId;
|
|
|
import com.ruoyi.common.annotation.Excel;
|
|
|
import com.ruoyi.common.annotation.Excel.ColumnType;
|
|
@@ -118,26 +119,31 @@ public class SysUser extends BaseEntity {
|
|
|
@Excel(name = "部门名称", targetAttr = "deptName", type = Type.EXPORT),
|
|
|
@Excel(name = "部门负责人", targetAttr = "leader", type = Type.EXPORT)
|
|
|
})
|
|
|
+ @TableField(exist = false)
|
|
|
private SysDept dept;
|
|
|
|
|
|
/**
|
|
|
* 角色对象
|
|
|
*/
|
|
|
+ @TableField(exist = false)
|
|
|
private List<SysRole> roles;
|
|
|
|
|
|
/**
|
|
|
* 角色组
|
|
|
*/
|
|
|
+ @TableField(exist = false)
|
|
|
private Long[] roleIds;
|
|
|
|
|
|
/**
|
|
|
* 岗位组
|
|
|
*/
|
|
|
+ @TableField(exist = false)
|
|
|
private Long[] postIds;
|
|
|
|
|
|
/**
|
|
|
* 角色ID
|
|
|
*/
|
|
|
+ @TableField(exist = false)
|
|
|
private Long roleId;
|
|
|
|
|
|
/**
|