package org.qinan.safetyeval.client.api;

import org.qinan.safetyeval.client.co.QualFilingChangeDetailCO;
import org.qinan.safetyeval.client.dto.PageResponse;
import org.qinan.safetyeval.client.dto.SingleResponse;
import org.qinan.safetyeval.client.dto.QualFilingChangeDetailAddCmd;
import org.qinan.safetyeval.client.dto.QualFilingChangeDetailModifyCmd;
import org.qinan.safetyeval.client.dto.QualFilingChangeDetailPageQuery;

/**
 * 备案变更明细接口定义（Client层）
 *
 * @author safety-eval
 */
public interface QualFilingChangeDetailApi {

    SingleResponse<QualFilingChangeDetailCO> add(QualFilingChangeDetailAddCmd cmd);

    SingleResponse<QualFilingChangeDetailCO> get(Long id);

    SingleResponse<QualFilingChangeDetailCO> modify(QualFilingChangeDetailModifyCmd cmd);

    SingleResponse<Void> delete(Long id);

    PageResponse<QualFilingChangeDetailCO> page(QualFilingChangeDetailPageQuery query);
}
