package org.qinan.safetyeval.domain.gateway;

import org.qinan.safetyeval.domain.entity.OrgDepartmentEntity;
import org.qinan.safetyeval.domain.query.OrgDepartmentQuery;
import org.qinan.safetyeval.domain.query.PageResult;

/**
 * 部门Gateway接口（Domain层定义）
 *
 * @author safety-eval
 */
public interface OrgDepartmentGateway {

    OrgDepartmentEntity save(OrgDepartmentEntity entity);

    OrgDepartmentEntity get(Long id);

    OrgDepartmentEntity modify(OrgDepartmentEntity entity);

    void delete(Long id);

    PageResult<OrgDepartmentEntity> page(OrgDepartmentQuery query);
}
