package org.qinan.safetyeval.domain.gateway;

import org.qinan.safetyeval.domain.entity.OrgPositionEntity;
import org.qinan.safetyeval.domain.query.OrgPositionQuery;
import org.qinan.safetyeval.domain.query.PageResult;

/**
 * 岗位Gateway接口（Domain层定义）
 *
 * @author safety-eval
 */
public interface OrgPositionGateway {

    OrgPositionEntity save(OrgPositionEntity entity);

    OrgPositionEntity get(Long id);

    OrgPositionEntity modify(OrgPositionEntity entity);

    void delete(Long id);

    PageResult<OrgPositionEntity> page(OrgPositionQuery query);
}
