package net.cherokeedictionary.model;

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

public class DictionaryEntry {
	public int id;
	public String source;
	public String pos;
	
	public List<EntryForm> forms=new ArrayList<>();
	public List<String> definitions=new ArrayList<>();
	public List<EntryExample> examples=new ArrayList<>();
	public List<Note> notes=new ArrayList<>();
	public List<Crossreference> crossreferences=new ArrayList<>();
	
	public static class EntryForm {
		public EntryForm() {
		}
		public EntryForm(EntryFormType formType, String syllabary, String pronunciation, String latin) {
			this.formType=formType;
			this.syllabary=syllabary;
			this.pronunciation=pronunciation;
			this.latin=latin;
		}
		public EntryFormType formType=EntryFormType.Other;
		public String syllabary;
		public String pronunciation;
		public String latin;
	}
	
	public static class EntryExample {
		public EntryExample(String syllabary, String latin, String english) {
			this.syllabary=syllabary;
			this.latin=latin;
			this.english=english;
		}
		public String syllabary;
		public String latin;
		public String english;
	}
	
	public static enum EntryFormType {
		Verb3rdPrc, Verb1stPrc, Verb3rdPast, Verb3rdHab, Verb2ndImp, Verb3rdImp, Verb3rdInf, Other;
	}
	
	public static class Note {
		public Note() {
		}
		public Note(String note) {
			this.note=note;
		}

		public String note;
	}
	
	public static class Crossreference {
		public Crossreference() {
		}
		public Crossreference(String crossreferencet) {
			this.crossReference=crossreferencet;
		}

		public String crossReference;
	}
}

@@ -60,16 +60,39 @@
 ayList;%0A
+import java.util.Date;%0A
 import j
@@ -461,24 +461,49 @@
 List%3C%3E();%0A%09%0A
+%09public Date modified;%0A%09%0A
 %09public stat
@@ -938,24 +938,54 @@
 ryExample %7B%0A
+%09%09public EntryExample() %7B%0A%09%09%7D%0A
 %09%09public Ent

add missing default constructor