package com.testor.ddd.safetyControl.application.service.equipmentManage;

import com.testor.ddd.safetyControl.interfaces.model.dto.equipment.TSafeEquipmentTypeDTO;
import com.testor.ddd.safetyControl.interfaces.model.dto.equipment.TSafeEquipmentTypeDTOParam;
import com.testor.ddd.safetyControl.interfaces.model.vo.equipment.TSafeEquipmentTypeVO;
import com.tongtech.tfw.backend.common.biz.models.BaseResponse;
import com.tongtech.tfw.backend.common.biz.models.BaseResponseList;

public interface EquipmentTypeManageService {
    /**
     * 编辑空间
     * @param equipmentTypeOrgDto
     * @return
     */
    BaseResponse editEquipmentType(TSafeEquipmentTypeDTO equipmentTypeOrgDto);

    BaseResponseList<TSafeEquipmentTypeVO> listByPage(TSafeEquipmentTypeDTOParam param);

    TSafeEquipmentTypeDTO findById(String id);

    /**
     *
     * @param type 0-设备系统类型； 1-设备类型
     * @param id
     * @return
     */
    BaseResponse deleteById(int type, String id);

    /**
     * @description TODO
     * @param param  查询设备类型
     * @return com.tongtech.tfw.backend.common.biz.models.BaseResponseList<com.testor.ddd.safetyControl.interfaces.model.vo.equipment.TSafeEquipmentTypeVO>
     * @author qiao
     * @date 5/25/23 1:49 PM
     */
    BaseResponseList<TSafeEquipmentTypeVO> listByPages(TSafeEquipmentTypeDTOParam param);
}
