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

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

/**
 * <p>
 * 工作岗位角色信息表
 * </p>
 *
 * @author linyb
 * @since 2024-10-29
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("nest_job_role")
@ApiModel(value="NestJobRole对象", description="工作岗位角色信息表")
public class NestJobRole extends TenantEntity {

    /**
     * 角色名称
     */
    @ApiModelProperty(name = "jobRoleName", value = "角色名称")
    private String jobRoleName;

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

    /**
     * 工作角色分组id
     */
    @ApiModelProperty(name = "jobRoleGroupId", value = "工作角色分组id")
    private Long jobRoleGroupId;

    /**
     * 开启状态 0:关闭;1:开启
     */
    @ApiModelProperty(name = "isOpen", value = "开启状态 0:关闭;1:开启")
    private Integer isOpen;

    /**
     * 客户id
     */
    @ApiModelProperty(name = "customerId", value = "客户id")
    private Long customerId;



}
