package com.microservices.system.api.domain;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
/**
 * @author otto
 */
@Data
@ApiModel("用户与部门及部门对应角色的关联对象")
public class SysUserDeptRole {

    private static final long serialVersionUID = 1L;

    /**
     * 部门ID
     */
    @ApiModelProperty("部门ID")
    private Long deptId;

    /**
     * 用户ID
     */
    @ApiModelProperty("用户ID")
    private Long userId;

    /**
     * 角色ID
     */
    @ApiModelProperty("角色ID")
    private Long roleId;

    @ApiModelProperty("身份状态")
    private String state;

    /**
     * 部门对象
     */
    @ApiModelProperty(value = "部门对象", hidden = true)
    private SysDept sysDept;
    /**
     * 用户对象
     */
    @ApiModelProperty(value = "用户对象", hidden = true)
    private SysUser sysUser;
    /**
     * 角色对象
     */
    @ApiModelProperty(value = "角色对象", hidden = true)
    private SysRole sysRole;
}
