package org.qinan.safetyeval.client.api;

import org.qinan.safetyeval.client.co.OrgPersonnelCO;
import org.qinan.safetyeval.client.dto.PageResponse;
import org.qinan.safetyeval.client.dto.SingleResponse;
import org.qinan.safetyeval.client.dto.OrgPersonnelAddCmd;
import org.qinan.safetyeval.client.dto.OrgPersonnelModifyCmd;
import org.qinan.safetyeval.client.dto.OrgPersonnelPageQuery;

/**
 * 人员信息接口定义（Client层）
 *
 * @author safety-eval
 */
public interface OrgPersonnelApi {

    SingleResponse<OrgPersonnelCO> add(OrgPersonnelAddCmd cmd);

    SingleResponse<OrgPersonnelCO> get(Long id);

    SingleResponse<OrgPersonnelCO> modify(OrgPersonnelModifyCmd cmd);

    SingleResponse<Void> delete(Long id);

    PageResponse<OrgPersonnelCO> page(OrgPersonnelPageQuery query);

    SingleResponse<Void> resetPassword(Long id);
}
