package com.ruoyi.ccdi.project.domain.event;

import com.ruoyi.ccdi.project.domain.dto.CcdiProjectImportHistoryDTO;

/**
 * 历史项目导入提交事件
 */
public class CcdiProjectHistoryImportSubmittedEvent {

    private final Long targetProjectId;
    private final Integer targetLsfxProjectId;
    private final CcdiProjectImportHistoryDTO dto;
    private final String operator;

    public CcdiProjectHistoryImportSubmittedEvent(Long targetProjectId, Integer targetLsfxProjectId,
                                                  CcdiProjectImportHistoryDTO dto, String operator) {
        this.targetProjectId = targetProjectId;
        this.targetLsfxProjectId = targetLsfxProjectId;
        this.dto = dto;
        this.operator = operator;
    }

    public Long getTargetProjectId() {
        return targetProjectId;
    }

    public Integer getTargetLsfxProjectId() {
        return targetLsfxProjectId;
    }

    public CcdiProjectImportHistoryDTO getDto() {
        return dto;
    }

    public String getOperator() {
        return operator;
    }
}
