package com.yuchen.saas.manage.system.api.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.nest.springwrap.core.tenant.mp.TenantEntity;

/**
 * <p>
 * 角色绑定成员明细
 * </p>
 *
 * @author author
 * @since 2023-03-17
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("nest_org_role_binding")
public class NestOrgRoleBinding extends TenantEntity {

    private static final long serialVersionUID = 1L;

    /**
     * 组织id
     */
    @ApiModelProperty(value = "组织id")
    private Long deptId;

    /**
     * 角色id
     */
    @ApiModelProperty(value = "角色id")
    private Long orgRoleId;

    /**
     * 成员id
     */
    @ApiModelProperty(value = "组织成员id")
    private Long orgUserId;

    /**
     * 用户id
     */
    private Long userId;


    @ApiModelProperty(value = "创建者id")
    private Long createOrgUserId;

    @ApiModelProperty(value = "添加人")
    private String createOrgUserName;


}
