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

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.nest.springwrap.core.tenant.mp.TenantEntity;

/**
 * <p>
 * 组织成员绑定上级同步数据关联表
 * </p>
 *
 * @author author
 * @since 2023-04-23
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("nest_user_dept_sync")
public class UserDeptSync extends TenantEntity {

    private static final long serialVersionUID = 1L;


    /**
     * 组织成员绑定关系id
     */
    private Long userDeptId;

    /**
     * 组织id
     */
    private Long deptId;

    /**
     * 组织id
     */
    private Long userId;

    /**
     * 直接绑定的下级组织id
     */
    private Long childOrgId;

}
