package org.qinan.safetyeval.domain.gateway;

import org.qinan.safetyeval.domain.entity.OrgEquipmentEntity;
import org.qinan.safetyeval.domain.query.OrgEquipmentQuery;
import org.qinan.safetyeval.domain.query.PageResult;

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

    OrgEquipmentEntity save(OrgEquipmentEntity entity);

    OrgEquipmentEntity get(Long id);

    OrgEquipmentEntity modify(OrgEquipmentEntity entity);

    void delete(Long id);

    PageResult<OrgEquipmentEntity> page(OrgEquipmentQuery query);
}
