// Collection of code snippets by Arne Vajhøj 
// (from articles on eksperten.dk / vajhoej.dk written sometime between 2004 and now) 
package dk.vajhoej.forum.model;

import java.util.ArrayList;
import java.util.List;

public class Topic {
	private String name;
	private String description;
	private List<Post> posts;
	public Topic(String name, String description) {
		this.name = name;
		this.description = description;
		this.posts = new ArrayList<>();
	}
	public String getName() {
		return name;
	}
	public String getDescription() {
		return description;
	}
	public List<Post> getPosts() {
		return posts;
	}
}
