package org.qinan.safetyeval.client.api;

import org.qinan.safetyeval.client.co.QualFilingPersonnelCO;
import org.qinan.safetyeval.client.dto.PageResponse;
import org.qinan.safetyeval.client.dto.SingleResponse;
import org.qinan.safetyeval.client.dto.QualFilingPersonnelAddCmd;
import org.qinan.safetyeval.client.dto.QualFilingPersonnelModifyCmd;
import org.qinan.safetyeval.client.dto.QualFilingPersonnelPageQuery;

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

    SingleResponse<QualFilingPersonnelCO> add(QualFilingPersonnelAddCmd cmd);

    SingleResponse<QualFilingPersonnelCO> get(Long id);

    SingleResponse<QualFilingPersonnelCO> modify(QualFilingPersonnelModifyCmd cmd);

    SingleResponse<Void> delete(Long id);

    PageResponse<QualFilingPersonnelCO> page(QualFilingPersonnelPageQuery query);

    SingleResponse<Integer> batchAddFromOrg(org.qinan.safetyeval.client.dto.QualFilingPersonnelBatchAddCmd cmd);
}
