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

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.microsvc.toolkit.common.response.ParamResponse;
import com.yonge.cooleshow.biz.dal.wrapper.TenantAlbumCategoryWrapper;
import com.yonge.cooleshow.biz.dal.entity.TenantAlbumCategory;

/**
 * 机构专辑分类
 * 2023-10-10 09:48:46
 */
public interface TenantAlbumCategoryService extends IService<TenantAlbumCategory>  {

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

    /**
     * 分页查询
     * @param page IPage<TenantAlbumCategory>
     * @param query TenantAlbumCategoryWrapper.TenantAlbumCategoryQuery
     * @return IPage<TenantAlbumCategory>
     */
    IPage<TenantAlbumCategoryWrapper.TenantAlbumCategory> selectPage(IPage<TenantAlbumCategoryWrapper.TenantAlbumCategory> page,
                                                                     TenantAlbumCategoryWrapper.TenantAlbumCategoryQuery query);

    /**
     * 添加
     * @param tenantAlbumCategory TenantAlbumCategoryWrapper.TenantAlbumCategory
     * @return Boolean
     */
    Boolean add(TenantAlbumCategoryWrapper.TenantAlbumCategory tenantAlbumCategory);

    /**
     * 更新
     * @param tenantAlbumCategory TenantAlbumCategoryWrapper.TenantAlbumCategory
     * @return Boolean
     */
    Boolean update(TenantAlbumCategoryWrapper.TenantAlbumCategory tenantAlbumCategory);

    Boolean delete(Long id);
}