package com.style24.core.biz.dao;

import java.util.Collection;

import com.style24.core.support.annotation.ShopDs;
import com.style24.persistence.domain.MailTemplate;
import com.style24.persistence.domain.MailTemplateCorner;
import com.style24.persistence.domain.MailTemplateGoods;
import org.springframework.stereotype.Repository;

/**
 * 메일템플릿 Dao
 * 
 * @author gagamel
 * @since 2021. 5. 28
 */
@ShopDs
@Repository
public interface TscMailTemplateDao {

	/**
	 * 메일템플릿 정보
	 * @param mailtSq - 메일템플릿일련번호
	 * @return
	 * @author gagamel
	 * @since 2021. 5. 11
	 */
	MailTemplate getMailTemplate(Integer mailtSq);

	/**
	 * 메일템플릿코너 목록
	 * @param mailtSq - 메일템플릿일련번호
	 * @return
	 * @author gagamel
	 * @since 2021. 5. 11
	 */
	Collection<MailTemplateCorner> getMailTemplateCornerList(Integer mailtSq);

	/**
	 * 메일템플릿코너상품 목록
	 * @param mailtcSq - 메일템플릿코너일련번호
	 * @return
	 * @author gagamel
	 * @since 2021. 5. 11
	 */
	Collection<MailTemplateGoods> getMailTemplateCornerGoodsList(Integer mailtcSq);

	/**
	 * 메일템플릿 미리보기 조회
	 * @param mailtSq - 메일템플릿일련번호
	 * @return
	 * @author gagamel
	 * @since 2021. 5. 11
	 */
	MailTemplate getMailTemplatePreview(Integer mailtSq);

}