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.ReviewGuide;

/**
 * 상품평 Dao
 *
 * @author gagamel
 * @since 2021. 5. 17
 */
@ShopDs
@Repository
public interface TsbReviewDao {

	/**
	 * 상품평등록안내발송대상건 생성
	 * @param expireDays - 상품평만료일자
	 * @return 생성건수
	 * @author gagamel
	 * @since 2021. 5. 17
	 */
	int createReviewGuideSendObjectList(int expireDays);

	/**
	 * 상품평등록안내발송대상 목록
	 * @return
	 * @author gagamel
	 * @since 2021. 5. 17
	 */
	Collection<ReviewGuide> getReviewGuideSendObjectList();

	/**
	 * 상품평등록안내발송완료 처리
	 * @param reviewGuide - 상품평등록안내 정보
	 * @author gagamel
	 * @since 2021. 5. 17
	 */
	void updateReviewGuideSendComplete(ReviewGuide reviewGuide);

}
