package org.qinan.safetyeval.client.api;

import org.qinan.safetyeval.client.co.OrgResignApplyCO;
import org.qinan.safetyeval.client.dto.PageResponse;
import org.qinan.safetyeval.client.dto.SingleResponse;
import org.qinan.safetyeval.client.dto.OrgResignApplyAddCmd;
import org.qinan.safetyeval.client.dto.OrgResignApplyModifyCmd;
import org.qinan.safetyeval.client.dto.OrgResignApplyPageQuery;

/**
 * 人员离职申请接口定义（Client层）
 *
 * @author safety-eval
 */
public interface OrgResignApplyApi {

    SingleResponse<OrgResignApplyCO> add(OrgResignApplyAddCmd cmd);

    SingleResponse<OrgResignApplyCO> get(Long id);

    SingleResponse<OrgResignApplyCO> modify(OrgResignApplyModifyCmd cmd);

    SingleResponse<Void> delete(Long id);

    PageResponse<OrgResignApplyCO> page(OrgResignApplyPageQuery query);
}
