package org.qinan.safetyeval.client.api;

import org.qinan.safetyeval.client.co.OrgPersonnelCertCO;
import org.qinan.safetyeval.client.dto.PageResponse;
import org.qinan.safetyeval.client.dto.SingleResponse;
import org.qinan.safetyeval.client.dto.OrgPersonnelCertAddCmd;
import org.qinan.safetyeval.client.dto.OrgPersonnelCertModifyCmd;
import org.qinan.safetyeval.client.dto.OrgPersonnelCertPageQuery;

/**
 * 人员证书接口定义（Client层）
 *
 * @author safety-eval
 */
public interface OrgPersonnelCertApi {

    SingleResponse<OrgPersonnelCertCO> add(OrgPersonnelCertAddCmd cmd);

    SingleResponse<OrgPersonnelCertCO> get(Long id);

    SingleResponse<OrgPersonnelCertCO> modify(OrgPersonnelCertModifyCmd cmd);

    SingleResponse<Void> delete(Long id);

    PageResponse<OrgPersonnelCertCO> page(OrgPersonnelCertPageQuery query);
}
