package com.testor.module.threeframework.service;


import com.testor.module.threeframework.model.domain.TThreeTime;
import com.testor.module.threeframework.model.dto.TThreeTimeEditDTO;
import com.testor.module.threeframework.model.vo.TThreeTimeVO;
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;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.List;

/**
 * 三同时管理Service接口
 *
 * @author testor-framework
 * @date 2022-09-15 17:16:20
 */
public interface TThreeTimeService extends SuperService<TThreeTime> {

    BaseResponse<TThreeTime> addEntity(@RequestBody TThreeTimeEditDTO addRequest);

    BaseResponse<List<TThreeTimeVO>> getThreeTime(String id);

    BaseResponse<BizGeneralResponse> updateEntity(@RequestBody TThreeTimeEditDTO addRequest);
}
