package com.style24.scm.biz.dao;

import java.util.Collection;

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

/**
 * 상담문의 Dao
 * 
 * @author gagamel
 * @since 2020. 12. 28
 */
@ShopDs
public interface TssCounselDao {

	/**
	 * 상품문의 목록
	 * @param counsel -상담정보
	 * @return
	 * @author gagamel
	 * @since 2020. 12. 28
	 */
	Collection<Counsel> getGoodsQnaList(Counsel counsel);

	/**
	 * 상품문의 상세
	 * @param counsel - 상담정보
	 * @return
	 * @author gagamel
	 * @since 2020. 12. 28
	 */
	Counsel getGoodsQna(Counsel counsel);

	/**
	 * 상품문의 답변 저장
	 * @param counsel - 상담정보
	 * @author gagamel
	 * @since 2020. 12. 28
	 */
	void updateGoodsQnaAnswer(Counsel counsel);

}
