package org.qinan.safetyeval.domain.gateway;

import org.qinan.safetyeval.domain.entity.OrgPersonnelCertEntity;
import org.qinan.safetyeval.domain.query.OrgPersonnelCertQuery;
import org.qinan.safetyeval.domain.query.PageResult;
import java.util.List;

/**
 * 人员证书Gateway接口（Domain层定义）
 *
 * @author safety-eval
 */
public interface OrgPersonnelCertGateway {

    OrgPersonnelCertEntity save(OrgPersonnelCertEntity entity);

    OrgPersonnelCertEntity get(Long id);

    List<OrgPersonnelCertEntity> listByPersonnelId(Long personnelId);

    List<OrgPersonnelCertEntity> listByOrgId(Long orgId);

    OrgPersonnelCertEntity modify(OrgPersonnelCertEntity entity);

    void delete(Long id);

    PageResult<OrgPersonnelCertEntity> page(OrgPersonnelCertQuery query);
}
