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 cxj
 * @since 2023-09-23
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("nest_dept_binding")
@ApiModel(value="NestDeptBinding对象", description="组织上下级绑定关系")
public class NestDeptBinding extends TenantEntity {

    /**
     * 上级组织id
     */
    @ApiModelProperty(name = "parentDeptId", value = "上级组织id")
    private Long parentDeptId;
    /**
     * 角色id
     */
    @ApiModelProperty(name = "childDeptId", value = "下级组织id")
    private Long childDeptId;

    @ApiModelProperty(name = "childDeptId", value = "下级组织别称")
    private String childDeptName;
    /**
     * 挂接组织(部门)id
     */
    @ApiModelProperty(name = "hitchDeptId", value = "挂接组织(部门)id")
    private Long hitchDeptId;
    /**
     * 申请id
     */
    @ApiModelProperty(name = "orgDeptApplyId", value = "申请id")
    private Long orgDeptApplyId;



}
