package shop.alien.store.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import shop.alien.entity.store.StoreMembershipCard;
import shop.alien.entity.store.StoreMembershipCardOrder;
import shop.alien.entity.store.vo.StoreMembershipCardOrderVo;
import shop.alien.entity.store.vo.StoreMembershipCardVo;

import java.util.List;

/**
 * <p>
 * 商家会员卡订单表 服务类
 * </p>
 *
 * @author ssk
 * @since 2025-03-11
 */
public interface StoreMembershipCardOrderService extends IService<StoreMembershipCardOrder> {

    /**
     * 会员卡下单
     * */
    public StoreMembershipCardVo placeOrder(StoreMembershipCardOrderVo storeMembershipCardOrderVo);

    /**
     * 查询店铺会员卡信息
     * */
    public List<StoreMembershipCard> getStoreMembershipCard(String storeId);

    /**
     * 获取订单历史
     * */
    public IPage<StoreMembershipCardOrderVo> getOrderHistory(Integer pageNum, Integer pageSize, Integer storeId, String storeName, String orderCode
            , String orderStatus, String buyType, String endTime, String vipType);

}
