package org.qinan.safetyeval.client.api;

import org.qinan.safetyeval.client.co.OrgPersonnelChangeCO;
import org.qinan.safetyeval.client.dto.PageResponse;
import org.qinan.safetyeval.client.dto.SingleResponse;
import org.qinan.safetyeval.client.dto.OrgPersonnelChangeAddCmd;
import org.qinan.safetyeval.client.dto.OrgPersonnelChangeModifyCmd;
import org.qinan.safetyeval.client.dto.OrgPersonnelChangePageQuery;

/**
 * 人员变更记录接口定义（Client层）
 *
 * @author safety-eval
 */
public interface OrgPersonnelChangeApi {

    SingleResponse<OrgPersonnelChangeCO> add(OrgPersonnelChangeAddCmd cmd);

    SingleResponse<OrgPersonnelChangeCO> get(Long id);

    SingleResponse<OrgPersonnelChangeCO> modify(OrgPersonnelChangeModifyCmd cmd);

    SingleResponse<Void> delete(Long id);

    PageResponse<OrgPersonnelChangeCO> page(OrgPersonnelChangePageQuery query);
}
