package com.yuchen.saas.park.service.service.property;

import com.baomidou.mybatisplus.extension.service.IService;
import com.yuchen.saas.park.api.dto.property.PropertyEnterpriseAddressListQueryDto;
import com.yuchen.saas.park.api.dto.property.PropertyHouseEnterpriseDto;
import com.yuchen.saas.park.api.dto.property.PropertyHouseEnterpriseQueryDto;
import com.yuchen.saas.park.api.entity.property.PropertyHouseEnterprise;
import com.yuchen.saas.park.api.vo.property.*;
import org.nest.springwrap.core.mp.support.NestPage;
import org.springframework.web.multipart.MultipartFile;

import javax.servlet.http.HttpServletResponse;

/**
 * @Author 蔡文强
 * @Date 2023/11/28 10:56
 * @Description 园区入驻企业表 服务类
 */
public interface IPropertyHouseEnterpriseService extends IService<PropertyHouseEnterprise> {
    Boolean saveorUpdateHouseEnterprise(PropertyHouseEnterpriseDto enterpriseDto);
    Boolean deleteHouseEnterprise(Long id);
    PropertyHouseEnterpriseVo getHouseEnterpriseById(Long id);
    NestPage<PropertyHouseEnterpriseListVo> getHouseEnterprisePageList(PropertyHouseEnterpriseQueryDto queryDto);
    PropertyHouseEnterpriseImportResVo importHouseEnterprise(MultipartFile file);
    void exportHouseEnterprise(PropertyHouseEnterpriseQueryDto queryDto, HttpServletResponse response);
    NestPage<PropertyEnterpriseAddressListVo> getEnterpriseAddressList(PropertyEnterpriseAddressListQueryDto queryDto);
}
