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_sync")
@ApiModel(value="NestDeptBindingSync对象", description="上下级同步成员表")
public class NestDeptBindingSync extends TenantEntity {

    /**
     * 绑定关系id
     */
    @ApiModelProperty(name = "deptBinding", value = "绑定关系id")
    private Long deptBindingId;
    /**
     * 同步类型:0部门,1组织成员id
     */
    @ApiModelProperty(name = "syncType", value = "同步类型:0部门,1组织成员id")
    private Integer syncType;
    /**
     * 目前部门id,或组织成员id
     */
    @ApiModelProperty(name = "code", value = "目前部门id,或组织成员id")
    private Long code;



}
