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

import com.baomidou.mybatisplus.extension.service.IService;
import com.yuchen.saas.park.api.dto.property.*;
import com.yuchen.saas.park.api.entity.property.PropertyAdsPositionLease;
import com.yuchen.saas.park.api.vo.property.*;
import org.nest.springwrap.core.mp.support.NestPage;

/**
 * @Author 蔡文强
 * @Date 2024/1/2 10:56
 * @Description 广告位租赁表 服务实现类
 */
public interface IPropertyAdsPositionLeaseService extends IService<PropertyAdsPositionLease> {
    Boolean saveorUpdateLease(PropertyAdsPositionLeaseDto leaseDto);
    Boolean deleteLease(Long id);
    NestPage<PropertyAdsPositionLeaseListVo> getLeasePageList(PropertyAdsPositionLeaseQueryDto queryDto);
    PropertyAdsPositionLeaseListVo getLeaseByAdsId(Long adsId);
}
