package org.qinan.safetyeval.domain.gateway;

import org.qinan.safetyeval.domain.entity.QualFilingChangeDetailEntity;
import org.qinan.safetyeval.domain.query.QualFilingChangeDetailQuery;
import org.qinan.safetyeval.domain.query.PageResult;
import java.util.List;

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

    QualFilingChangeDetailEntity save(QualFilingChangeDetailEntity entity);

    QualFilingChangeDetailEntity get(Long id);

    List<QualFilingChangeDetailEntity> listByChangeId(Long changeId);

    List<QualFilingChangeDetailEntity> listByFilingId(Long filingId);

    int countByFilingId(Long filingId);

    QualFilingChangeDetailEntity modify(QualFilingChangeDetailEntity entity);

    void delete(Long id);

    PageResult<QualFilingChangeDetailEntity> page(QualFilingChangeDetailQuery query);
}
