/*
 * Copyright (c) 2023 codvision.com All Rights Reserved.
 */

package com.codvision.authcore.bean;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 组织用户关联信息展示信息
 * </p>
 *
 * @author lingee
 * @since 2023-11-10
 */
@Data
@ApiModel(value = "UserOrgRoleVO", description = "组织用户关联信息展示信息")
public class UserOrgRoleBean implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("用户UID")
    private Integer uid;

    @ApiModelProperty("组织OID")
    private Integer oid;

    @ApiModelProperty("角色ID")
    private Integer roleId;

    @ApiModelProperty("是否开启")
    private Short flagEnabled;

    @ApiModelProperty("排序字段")
    private Integer orderby;

    @ApiModelProperty("角色编码")
    private String roleCode;

    @ApiModelProperty("更新时间")
    private Date updateTime;

    @ApiModelProperty("组织信息")
    private OrgBean org;

    @ApiModelProperty("角色信息")
    private SysRoleBean role;
}
