package com.yd.oss.service.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.yd.oss.feign.request.ApiRelObjectMaterialPageRequest;
import com.yd.oss.feign.response.ApiRelObjectMaterialPageResponse;
import com.yd.oss.service.model.RelObjectMaterial;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 * 对象材料关系表 服务类
 * </p>
 *
 * @author zxm
 * @since 2025-12-17
 */
public interface IRelObjectMaterialService extends IService<RelObjectMaterial> {

    IPage<ApiRelObjectMaterialPageResponse> page(Page<ApiRelObjectMaterialPageResponse> page,
                                                 ApiRelObjectMaterialPageRequest request);

    RelObjectMaterial queryOne(String relObjectMaterialBizId);

    Boolean delByObjectBizId(String objectBizId);

    List<RelObjectMaterial> queryList(String objectBizId);
}
