package com.czg.account.service;

import com.czg.account.dto.PictureGalleryDTO;
import com.czg.account.entity.PictureGallery;
import com.czg.account.param.PictureGalleryParam;
import com.mybatisflex.core.paginate.Page;
import com.mybatisflex.core.service.IService;

/**
 * 图库
 *
 * @author Tankaikai tankaikai@aliyun.com
 * @since 1.0 2025-02-26
 */
public interface PictureGalleryService extends IService<PictureGallery> {
    /**
     * 获取图库分页数据
     *
     * @param param 查询参数
     * @return 分页数据
     */
    Page<PictureGalleryDTO> getPictureGalleryPage(PictureGalleryDTO param);

    /**
     * 添加图库图片
     *
     * @param param 图片数据
     */
    void addPictureGallery(PictureGalleryParam param);

    /**
     * 删除图库图片
     *
     * @param id 图片ID
     */
    void deletePictureGallery(Long id);

}