package com.testor.module.train.database.service;


import com.testor.module.train.database.model.domain.TTrainDatabase;
import com.testor.module.train.database.model.dto.TTrainDatabaseDelParam;
import com.testor.module.train.database.model.dto.TTrainDatabaseParam;
import com.tongtech.tfw.backend.common.biz.models.BaseResponse;
import com.tongtech.tfw.backend.common.biz.models.BizGeneralResponse;
import com.tongtech.tfw.backend.common.models.supers.SuperService;

/**
 * 培训资料管理——安全培训教育Service接口
 *
 * @author testor-framework
 * @date 2022-07-12 10:01:27
 */
public interface TTrainDatabaseService extends SuperService<TTrainDatabase> {

    BaseResponse<TTrainDatabase> addEntity(TTrainDatabase addRequest)throws Exception;

    BaseResponse<TTrainDatabaseParam> getByIds(String id)throws Exception;

    BaseResponse<BizGeneralResponse> updateEntity(TTrainDatabase updateRequest) throws Exception;

    BaseResponse<BizGeneralResponse> deleteEntity(TTrainDatabaseDelParam deleteRequest)throws Exception;
}
