package com.style24.batch.biz.dao;

import java.util.Collection;

import org.springframework.stereotype.Repository;

import com.style24.core.support.annotation.ShopDs;
import com.style24.persistence.domain.GiftCard;

/**
 * 상품권 Dao
 *
 * @author sowon
 * @since 2021. 05. 20
 */
@ShopDs
@Repository
public interface TsbGiftcardDao {

	/**
	 * 상품권 소멸 리스트
	 *
	 * @param giftcard
	 * @return Collection<Giftcard>
	 * @author sowon
	 * @since  2021. 05. 20
	 */
	Collection<GiftCard> getExpireGiftcardList(GiftCard giftcard);

	/**
	 * 상품권 hst insert
	 *
	 * @param giftcard
	 * @return 
	 * @author sowon
	 * @since  2021. 05. 20
	 */
	void saveExpireGiftcardHst(GiftCard giftcard);
	
	/**
	 * 상품권 기간만료 알림톡(30일) 리스트
	 *
	 * @param giftcard
	 * @return Collection<Giftcard>
	 * @author sowon
	 * @since  2021. 05. 27
	 */
	Collection<GiftCard> getSendGiftcardExpectList(GiftCard giftcard);
}
