package com.xueyi.system.digitalmans.domain.merge;

import com.baomidou.mybatisplus.annotation.*;
import com.xueyi.common.core.annotation.Correlation;
import com.xueyi.common.core.annotation.Correlations;
import com.xueyi.common.core.constant.basic.OperateConstants;
import com.xueyi.common.core.web.tenant.base.TBasisEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

import java.io.Serial;

/**
 * 接待任务与负责人联表 持久化对象
 *
 * @author xueyi
 */
@Data
@NoArgsConstructor
@EqualsAndHashCode(callSuper = true)
@TableName("dm_reception_staff_merge")
public class DmReceptionStaffMerge extends TBasisEntity {

    @Serial
    private static final long serialVersionUID = 1L;


    /** 招待id */
    @Correlations({
            @Correlation(groupName = "dm_reception_staff_merge", keyType = OperateConstants.SubKeyType.MERGE_SLAVE),
            @Correlation(groupName = "dm_reception_staff_merge", keyType = OperateConstants.SubKeyType.MERGE_MAIN)
    })
    protected Long receptionId;

    /** 内部人员id */
    @Correlations({
            @Correlation(groupName = "dm_reception_staff_merge", keyType = OperateConstants.SubKeyType.MERGE_SLAVE),
            @Correlation(groupName = "dm_reception_staff_merge", keyType = OperateConstants.SubKeyType.MERGE_MAIN)
    })
    protected Long staffId;

}