package shop.alien.store.service;

import com.baomidou.mybatisplus.extension.service.IService;
import shop.alien.entity.store.PlatformShopMembership;
import shop.alien.entity.store.vo.PlatformShopMembershipRemainingDetailVo;
import shop.alien.entity.store.vo.PlatformShopMembershipStatusVo;

public interface PlatformShopMembershipService extends IService<PlatformShopMembership> {

    PlatformShopMembership getByStoreId(Integer storeId);

    PlatformShopMembershipStatusVo buildStatusVo(Integer storeId);

    /**
     * 按门店查询：剩余天数、当前连续购买周期起止（年/月/日）及该周期总天数
     */
    PlatformShopMembershipRemainingDetailVo buildRemainingDetailVo(Integer storeId);
}
