1 /**
2 *
3 */
4 package de.tivsource.page.entity.survey;
5
6 import javax.persistence.Column;
7 import javax.persistence.Id;
8
9 import org.hibernate.search.annotations.DocumentId;
10
11 /**
12 * @author Marc Michele
13 *
14 */
15 public class QuestionOption {
16
17 /**
18 * UUID des Objektes der Klasse QuestionOption, diese ID ist einmalig über alle
19 * Objekte hinweg und sollte der bevorzugte weg sein auf bestimmte Objekte
20 * zuzugreifen.
21 */
22 @Id
23 @DocumentId
24 @Column(name="uuid", unique=true)
25 private String uuid;
26
27 private Short order;
28
29 private String text;
30
31 private String value;
32
33 private Question question;
34
35 }// Ende class