package com.yonge.cooleshow.biz.dal.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.yonge.cooleshow.biz.dal.wrapper.TenantAlbumCategoryDetailWrapper;
import com.yonge.cooleshow.biz.dal.entity.TenantAlbumCategoryDetail;

/**
 * 机构专辑分类详情
 * 2023-10-10 10:17:38
 */
public interface TenantAlbumCategoryDetailService extends IService<TenantAlbumCategoryDetail>  {

    /**
     * 查询详情
     * @param id 详情ID
     * @return TenantAlbumCategoryDetail
     */
    TenantAlbumCategoryDetail detail(Long id);

    /**
     * 分页查询
     * @param page IPage<TenantAlbumCategoryDetail>
     * @param query TenantAlbumCategoryDetailWrapper.TenantAlbumCategoryDetailQuery
     * @return IPage<TenantAlbumCategoryDetail>
     */
    IPage<TenantAlbumCategoryDetail> selectPage(IPage<TenantAlbumCategoryDetail> page, TenantAlbumCategoryDetailWrapper.TenantAlbumCategoryDetailQuery query);

    /**
     * 添加
     * @param tenantAlbumCategoryDetail TenantAlbumCategoryDetailWrapper.TenantAlbumCategoryDetail
     * @return Boolean
     */
    Boolean add(TenantAlbumCategoryDetailWrapper.TenantAlbumCategoryDetail tenantAlbumCategoryDetail);

    /**
     * 更新
     * @param tenantAlbumCategoryDetail TenantAlbumCategoryDetailWrapper.TenantAlbumCategoryDetail
     * @return Boolean
     */
    Boolean update(TenantAlbumCategoryDetailWrapper.TenantAlbumCategoryDetail tenantAlbumCategoryDetail);

}