package com.style24.admin.biz.service;

import java.util.Collection;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.style24.admin.biz.dao.TsaReviewDao;
import com.style24.core.support.message.TscMessageByLocale;
import com.style24.persistence.domain.Review;

import lombok.extern.slf4j.Slf4j;

/**
 * 상품평 Service
 *
 * @author gagamel
 * @since 2021. 1. 25
 */
@Service
@Slf4j
public class TsaReviewService {

	@Autowired
	private TscMessageByLocale message;

	@Autowired
	private TsaReviewDao reviewDao;

	/**
	 * 상품평 목록
	 * @param review - 상품평 정보
	 * @return
	 * @author gagamel
	 * @since 2021. 1. 25
	 */
	public Collection<Review> getReviewList(Review review) {
		return reviewDao.getReviewList(review);
	}

}
