package com.czg.account.service;

import com.czg.account.dto.shopuser.*;
import com.czg.account.entity.ShopUser;
import com.czg.market.entity.SmsPushEventUser;
import com.mybatisflex.core.paginate.Page;

import java.math.BigDecimal;
import java.util.List;

/**
 * 商户储值会员 服务层。
 *
 * @author Administrator
 * @since 2025-02-08
 */
public interface AShopUserService {

    Page<ShopUser> getPage(String key, Integer isVip);

    Page<ShopUserDTO> getPage(String key, Integer isVip, BigDecimal amount);
    Page<ShopUser> getPushEventUser(SmsPushEventUser smsPushEventUser);
    Page<ShopUser> getAcPushEventUser(SmsPushEventUser smsPushEventUser);

    List<ShopUser> getPushEventUserList(SmsPushEventUser smsPushEventUser);

    Boolean add(Long shopId, ShopUserAddDTO shopUserAddDTO);

    Boolean updateInfo(Long shopId, ShopUserEditDTO shopUserEditDTO);

    ShopUserSummaryDTO getSummary(Long shopId, Integer isVip);

    ShopUser getDetail(Integer id, Integer userId);

    Long updateMoney(ShopUserMoneyEditDTO shopUserEditDTO);
}
