package org.qinan.safetyeval.domain.gateway;

import org.qinan.safetyeval.domain.entity.QualFilingPersonnelCertEntity;
import org.qinan.safetyeval.domain.query.QualFilingPersonnelCertQuery;
import org.qinan.safetyeval.domain.query.PageResult;
import java.util.List;

/**
 * 备案申请人员证书Gateway接口（Domain层定义）
 *
 * @author safety-eval
 */
public interface QualFilingPersonnelCertGateway {

    QualFilingPersonnelCertEntity save(QualFilingPersonnelCertEntity entity);

    QualFilingPersonnelCertEntity get(Long id);

    List<QualFilingPersonnelCertEntity> listByFilingId(Long filingId);

    List<QualFilingPersonnelCertEntity> listByFilingPersonnelId(Long filingPersonnelId);

    QualFilingPersonnelCertEntity modify(QualFilingPersonnelCertEntity entity);

    void delete(Long id);

    PageResult<QualFilingPersonnelCertEntity> page(QualFilingPersonnelCertQuery query);
}
