package com.testor.ddd.safetyControl.domain.riskPointSource.entity;

import com.testor.ddd.safetyControl.interfaces.model.dto.riskPointSource.TSafeRiskPointSourceDTO;
import com.testor.ddd.safetyControl.interfaces.model.dto.riskPointSource.TSafeRiskPointSourceDTOParam;
import com.testor.ddd.safetyControl.interfaces.model.vo.riskPoint.RiskPointSourceVO;

import java.util.List;

/**
 *
 * 连接持久化的接口，具体实现类为 infrastructure.repository.impl
 *
 */
public interface TSafeRiskPointSourceRepo {

    boolean deleteByPointId(String pointId);

    boolean saveBatch(List<TSafeRiskPointSourceDTO> riskPointSourceDTOList);

    List<RiskPointSourceVO> listAll(TSafeRiskPointSourceDTOParam param);
}
