package org.qinan.safetyeval.client.api;

import org.qinan.safetyeval.client.co.OrgEquipmentCO;
import org.qinan.safetyeval.client.dto.PageResponse;
import org.qinan.safetyeval.client.dto.SingleResponse;
import org.qinan.safetyeval.client.dto.OrgEquipmentAddCmd;
import org.qinan.safetyeval.client.dto.OrgEquipmentModifyCmd;
import org.qinan.safetyeval.client.dto.OrgEquipmentPageQuery;

/**
 * 装备信息接口定义（Client层）
 *
 * @author safety-eval
 */
public interface OrgEquipmentApi {

    SingleResponse<OrgEquipmentCO> add(OrgEquipmentAddCmd cmd);

    SingleResponse<OrgEquipmentCO> get(Long id);

    SingleResponse<OrgEquipmentCO> modify(OrgEquipmentModifyCmd cmd);

    SingleResponse<Void> delete(Long id);

    PageResponse<OrgEquipmentCO> page(OrgEquipmentPageQuery query);
}
