package edu.virginia.psyc.r01.persistence;

import lombok.Data;
import lombok.EqualsAndHashCode;
import org.mindtrails.domain.questionnaire.LinkedQuestionnaireData;

import javax.persistence.Entity;
import javax.persistence.Table;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;


@Entity
@Table(name="AssessingProgram")
@EqualsAndHashCode(callSuper = true)
@Data
public class AssessingProgram extends LinkedQuestionnaireData {

    @NotNull
    @Size(min=1)
    String worthPerWeek;
    @NotNull
    @Size(min=1)
    String compareToOthers;
}


@@ -192,16 +192,46 @@
 Entity;%0A
+import javax.persistence.Lob;%0A
 import j
@@ -546,16 +546,17 @@
 erWeek;%0A
+%0A
     @Not
@@ -569,32 +569,92 @@
    @Size(min=1)%0A
+    @Lob  /// Allow them to enter more than 255 characters!%0A
     String compa

Allow users to enter longer strings in AssessingProgram.