package org.qinan.safetyeval.domain.gateway;

import org.qinan.safetyeval.domain.entity.OrgQualificationEntity;
import org.qinan.safetyeval.domain.query.OrgQualificationQuery;
import org.qinan.safetyeval.domain.query.PageResult;

import java.util.List;

/**
 * 机构资质证书Gateway接口（Domain层定义）
 *
 * @author safety-eval
 */
public interface OrgQualificationGateway {

    OrgQualificationEntity save(OrgQualificationEntity entity);

    OrgQualificationEntity get(Long id);

    OrgQualificationEntity getByCertNo(String certNo);

    OrgQualificationEntity modify(OrgQualificationEntity entity);

    void delete(Long id);

    PageResult<OrgQualificationEntity> page(OrgQualificationQuery query);

    List<OrgQualificationEntity> classGet(Long id);
}
