@@ -0,0 +1,1038 @@
+package com.github.solairerove.woodstock.domain;%0A%0Aimport lombok.Data;%0Aimport org.springframework.data.annotation.Id;%0Aimport org.springframework.data.mongodb.core.mapping.Document;%0A%0Aimport java.io.Serializable;%0Aimport java.util.ArrayList;%0Aimport java.util.Collection;%0A%0A/**%0A * Created by krivitski-no on 10/1/16.%0A */%0A@Data%0A@Document%0Apublic class Task implements Serializable %7B%0A%0A    @Id%0A    private String id;%0A%0A    private String question;%0A    private Boolean enable;%0A    private Boolean correct;%0A    private Collection%3C? extends Ticket%3E tickets = new ArrayList%3C%3E();%0A%0A    public Task() %7B%0A    %7D%0A%0A    public Task(String question, Collection%3C? extends Ticket%3E tickets) %7B%0A        this.question = question;%0A        this.enable = true;%0A        this.correct = false;%0A        this.tickets = tickets;%0A    %7D%0A%0A    public Task(String question, Boolean enable, Boolean correct, Collection%3C? extends Ticket%3E tickets) %7B%0A        this.question = question;%0A        this.enable = enable;%0A        this.correct = correct;%0A        this.tickets = tickets;%0A    %7D%0A%7D%0A

Create Task domain model