package com.style24.batch.biz.dao;

import com.style24.core.support.annotation.ShopDs;
import com.style24.persistence.domain.Coupon;
import com.style24.persistence.domain.CustCoupon;

import java.util.Collection;

import org.springframework.stereotype.Repository;

/**
 * 쿠폰 Dao
 *
 * @author jsshin
 * @since 2021. 05. 28
 */
@ShopDs
@Repository
public interface TsbCouponDao {

	/**
	 * 쿠폰혜택 및 정보
	 *
	 * @param custCoupon - 쿠폰정보
	 * @return CustCoupon
	 * @author jsshin
	 * @since  2021. 07. 27
	 */
	CustCoupon getCouponBenefitInfo(CustCoupon custCoupon);
	
	/**
	 * 쿠폰 기간만료 알림톡(7일) 리스트
	 *
	 * @param coupon
	 * @return Collection<coupon>
	 * @author sowon
	 * @since  2021. 05. 31
	 */
	Collection<Coupon> getSendCouponExpectList(Coupon coupon);
}