|  |  |  | 
|---|
|  |  |  | import java.util.Date; | 
|---|
|  |  |  | import java.util.List; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | import com.baomidou.mybatisplus.annotation.TableField; | 
|---|
|  |  |  | import com.baomidou.mybatisplus.annotation.TableId; | 
|---|
|  |  |  | import com.fasterxml.jackson.annotation.JsonInclude; | 
|---|
|  |  |  | import com.ruoyi.common.annotation.Excel; | 
|---|
|  |  |  | 
|---|
|  |  |  | @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; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | /** | 
|---|
|  |  |  | * 相机操控优先级 | 
|---|
|  |  |  | */ | 
|---|
|  |  |  | private Integer cameraPriority; | 
|---|
|  |  |  | private String cameraPriority; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | /** | 
|---|
|  |  |  | * 用户融云token | 
|---|
|  |  |  | 
|---|
|  |  |  | /** | 
|---|
|  |  |  | * 关联报警类型组 | 
|---|
|  |  |  | */ | 
|---|
|  |  |  | @TableField(exist = false) | 
|---|
|  |  |  | private List<String> commands; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | public SysUser() { | 
|---|
|  |  |  | 
|---|
|  |  |  | this.rongCloudToken = rongCloudToken; | 
|---|
|  |  |  | } | 
|---|
|  |  |  |  | 
|---|
|  |  |  | public Integer getCameraPriority() { | 
|---|
|  |  |  | public String getCameraPriority() { | 
|---|
|  |  |  | return cameraPriority; | 
|---|
|  |  |  | } | 
|---|
|  |  |  |  | 
|---|
|  |  |  | public void setCameraPriority(Integer cameraPriority) { | 
|---|
|  |  |  | public void setCameraPriority(String cameraPriority) { | 
|---|
|  |  |  | this.cameraPriority = cameraPriority; | 
|---|
|  |  |  | } | 
|---|
|  |  |  |  | 
|---|