package org.qinan.safetyeval.client.api;

import org.qinan.safetyeval.client.co.QualFilingPersonnelCertCO;
import org.qinan.safetyeval.client.dto.PageResponse;
import org.qinan.safetyeval.client.dto.SingleResponse;
import org.qinan.safetyeval.client.dto.QualFilingPersonnelCertAddCmd;
import org.qinan.safetyeval.client.dto.QualFilingPersonnelCertModifyCmd;
import org.qinan.safetyeval.client.dto.QualFilingPersonnelCertPageQuery;

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

    SingleResponse<QualFilingPersonnelCertCO> add(QualFilingPersonnelCertAddCmd cmd);

    SingleResponse<QualFilingPersonnelCertCO> get(Long id);

    SingleResponse<QualFilingPersonnelCertCO> modify(QualFilingPersonnelCertModifyCmd cmd);

    SingleResponse<Void> delete(Long id);

    PageResponse<QualFilingPersonnelCertCO> page(QualFilingPersonnelCertPageQuery query);
}
