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

package com.codvision.webapi.bean;

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

import java.io.Serializable;

/**
 * 用户组织角色
 *
 * @author lingee
 * @date 2023/8/17
 */
@Data
@ApiModel(value = "RemoteUserOrgRole", description = "用户组织角色")
@NoArgsConstructor
@AllArgsConstructor
public class RemoteUserOrgRole implements Serializable {

    private static final long serialVersionUID = -3666579483846280443L;

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

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

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

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