123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169 |
- package cn.cslg.pas.common.model;
- import cn.cslg.pas.common.model.vo.BaseVO;
- import lombok.Data;
- import lombok.EqualsAndHashCode;
- import lombok.experimental.Accessors;
- import java.util.List;
- /**
- * @author 沈永艺
- * @date 2022-8-4
- * @description 人员类 前台对应实体
- */
- @Data
- @Accessors(chain = true)
- public class PersonnelVO {
- /**
- * ID
- */
- private Integer id;
- /**
- * Front:姓名
- * Back:人员名称
- */
- private String name;
- /**
- * Front:性别
- * Back:人员性别
- */
- private Integer gender;
- /**
- * Front:邮箱
- * Back:人员邮箱
- */
- private String email;
- /**
- * Front:联系方式
- * Back:人员联系电话
- */
- private String mobile;
- /**
- * Front:所属租户
- * Back:租户ID
- */
- private Integer tenant;
- /**
- * Front:状态
- * Back:人员账号状态(1启用0停用)
- */
- private Integer state;
- /**
- * Front:账号
- * Back:人员账号
- */
- private String username;
- /**
- * Front:密码
- * Back:人员密码
- */
- private String password;
- /**
- * Front:备注
- * Back:人员描述
- */
- private String remark;
- /**
- * Front:QQ号
- * Back:人员QQ号
- */
- private String qqNumber;
- /**
- * Front:微信号
- * Back:人员微信号
- */
- private String wechat;
- /**
- * Front:钉钉号
- * Back:人员钉钉号
- */
- private String nail;
- /**
- * Front:
- * Back:租户名称
- */
- private String tenantName;
- /**
- * Front:
- * Back:租户ID
- */
- private Integer tenantId;
- /**
- * 登陆成功后生成的Token
- */
- private String token;
- /**
- * 角色List
- */
- private List<PerRole> rList;
- /**
- * 部门职位List
- */
- private List<DP> dpList;
- /**
- * 角色类型(是否为管理角色)
- */
- private Integer roleType;
- /**
- * 租户类型
- */
- private String tenantType;
- /**
- * 部门职位绑定关系
- */
- @Data
- public static class DP {
- /**
- * 部门名称
- */
- private String departmentName;
- /**
- * 部门ID
- */
- private Integer departmentId;
- /**
- * 职位名称
- */
- private String positionName;
- /**
- * 职位ID
- */
- private Integer positionId;
- }
- /**
- * 角色信息
- */
- @Data
- public static class PerRole {
- /**
- * 角色名称
- */
- private String roleName;
- /**
- * 角色ID
- */
- private Integer roleId;
- }
- }
|