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

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.yuchen.saas.park.api.dto.property.SaasParkPropertyFeeItemDto;
import com.yuchen.saas.park.api.entity.property.SaasParkPropertyFeeItem;
import com.yuchen.saas.park.api.vo.property.SaasParkPropertyFeeItemVo;
import org.nest.springwrap.core.mp.support.Query;
import org.nest.springwrap.core.tool.api.R;

/**
 * <p>
 * 物业-收费-收费设置-费用分类 服务类
 * </p>
 *
 * @author baichaojie
 * @since 2024-09-06
 */
public interface ISaasParkPropertyFeeItemService extends IService<SaasParkPropertyFeeItem> {

    /**
     * 物业-收费-收费设置-费用分类 新增或修改
     * @param req
     * @return
     */
    Object saveOrUpdateByParam(SaasParkPropertyFeeItemDto req);

    /**
     * 物业-收费-收费设置-费用分类  列表查询
     * @param saasParkPropertyFeeItemDto
     * @param query
     * @return
     */
    R<IPage<SaasParkPropertyFeeItemVo>> getList(SaasParkPropertyFeeItemDto saasParkPropertyFeeItemDto, Query query);
}
