// Path: src/main/java/com/pollistics/utils/MemeSlugs.java
// public class MemeSlugs {
// 	private final static String[] words = new String[]{
// 		"meme",
// 		"bullgit",
// 		"yolo",
// 		"swag",
// 		"memer",
// 		"coolio",
// 		"fun",
// 		"quark",
// 		"odisee",
// 		"lel",
// 		"xddd",
// 		"giga",
// 		"wauw",
// 		"poll",
// 		"paul",
// 		"maliek",
// 		"hanne",
// 		"elias",
// 		"ruben",
// 		"haroen",
// 		"peter",
// 		"katja",
// 		"kevin",
// 		"ok",
// 		"leuk"
// 	};
// 
// 	public static String getCombo() {
// 		return MessageFormat.format("{0}-{1}-{2}", getWord(), getWord(), getWord());
// 	}
// 
// 	public static String getWord() {
// 		return words[(int) Math.floor(Math.random() * words.length)];
// 	}
// }


import com.fasterxml.jackson.annotation.JsonIgnore;
import com.pollistics.utils.MemeSlugs;
import org.bson.types.ObjectId;
import org.hibernate.validator.constraints.Length;
import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.index.Indexed;
import org.springframework.data.mongodb.core.mapping.Document;
import java.util.HashMap;
import java.util.Objects;
		this.title = title;
		this.options = options;
		this.user = user;
		this.slug = createSlug();
	}

	public Poll() {
	}

	public String getId() {
		return id.toHexString();
	}

	public String getTitle() {
		return title;
	}

	public void setTitle(String name) {
		this.title = name;
	}

	public HashMap<String, Integer> getOptions() {
		return options;
	}

	public void setOptions(HashMap<String, Integer> options) {
		this.options = options;
	}

	private String createSlug() {
// Path: src/main/java/com/pollistics/utils/MemeSlugs.java
// public class MemeSlugs {
// 	private final static String[] words = new String[]{
// 		"meme",
// 		"bullgit",
// 		"yolo",
// 		"swag",
// 		"memer",
// 		"coolio",
// 		"fun",
// 		"quark",
// 		"odisee",
// 		"lel",
// 		"xddd",
// 		"giga",
// 		"wauw",
// 		"poll",
// 		"paul",
// 		"maliek",
// 		"hanne",
// 		"elias",
// 		"ruben",
// 		"haroen",
// 		"peter",
// 		"katja",
// 		"kevin",
// 		"ok",
// 		"leuk"
// 	};
// 
// 	public static String getCombo() {
// 		return MessageFormat.format("{0}-{1}-{2}", getWord(), getWord(), getWord());
// 	}
// 
// 	public static String getWord() {
// 		return words[(int) Math.floor(Math.random() * words.length)];
// 	}
// }


// Path: src/main/java/com/pollistics/models/Poll.java
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.pollistics.utils.MemeSlugs;
import org.bson.types.ObjectId;
import org.hibernate.validator.constraints.Length;
import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.index.Indexed;
import org.springframework.data.mongodb.core.mapping.Document;
import java.util.HashMap;
import java.util.Objects;

		this.title = title;
		this.options = options;
		this.user = user;
		this.slug = createSlug();
	}

	public Poll() {
	}

	public String getId() {
		return id.toHexString();
	}

	public String getTitle() {
		return title;
	}

	public void setTitle(String name) {
		this.title = name;
	}

	public HashMap<String, Integer> getOptions() {
		return options;
	}

	public void setOptions(HashMap<String, Integer> options) {
		this.options = options;
	}

	private String createSlug() {
		return MemeSlugs.getCombo();