package kr.co.swh.lecture.opensource.jsoup; 

import java.util.List;

import com.google.common.collect.Lists;

/**
 * <pre>
 * kr.co.swh.lecture.opensource.jsoup
 * NaverMovieInfo.java
 *
 * 설명 :
 * </pre>
 * 
 * @since : 2018. 9. 2.
 * @author : tobby48
 * @version : v1.0
 */
public class NaverMovieInfo {

	private String url;
	private String title;
	private int ranking;
	private List<NaverMovieReple> repleList;
	
	public NaverMovieInfo(){
		repleList = Lists.newArrayList();
	}
	
	public String getUrl() {
		return url;
	}
	public void setUrl(String url) {
		this.url = url;
	}
	public String getTitle() {
		return title;
	}
	public void setTitle(String title) {
		this.title = title;
	}
	public int getRanking() {
		return ranking;
	}
	public void setRanking(int ranking) {
		this.ranking = ranking;
	}
	public List<NaverMovieReple> getRepleList() {
		return repleList;
	}
	public void setRepleList(List<NaverMovieReple> repleList) {
		this.repleList = repleList;
	}
	
	@Override
	public String toString() {
		// TODO Auto-generated method stub
		String context = ranking
				+ "위 : "
				+ title
				+ "\n"
				+ "댓글 : \n"
				+ repleList;
		return context;
	}
}
