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

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
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
@Accessors(chain = true)
@TableName("nest_user_job_role")
@ApiModel(value="NestUserJobRole对象", description="工作岗位角色用户绑定信息表")
public class NestUserJobRole  {

    @JsonSerialize(using = ToStringSerializer.class)
    @ApiModelProperty(value = "主键id")
    @TableId(value = "id", type = IdType.ASSIGN_ID)
    private Long id;

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


    /**
     * 工作岗位角色id
     */
    @ApiModelProperty(name = "jobRoleId", value = "工作岗位角色id")
    private Long jobRoleId;


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



}
