package com.zhongshu.card.server.core.event;

import com.zhongshu.card.client.type.DataOperationType;
import lombok.Getter;
import org.springframework.context.ApplicationEvent;

import java.util.ArrayList;
import java.util.List;

/**
 * 机构绑定用户的信息发送改变
 *
 * @author TRX
 * @date 2024/6/26
 */
public class OrgUserBindUpdateSyncEvent extends ApplicationEvent {

    @Getter
    private List<String> organizationUserIds;

    @Getter
    private DataOperationType dataOperationType;

    public OrgUserBindUpdateSyncEvent(Object source, List<String> organizationUserIds, DataOperationType dataOperationType) {
        super(source);
        this.organizationUserIds = organizationUserIds;
        this.dataOperationType = dataOperationType;
    }
}
