File tree Expand file tree Collapse file tree
src/main/java/edu/tamu/app/model Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1212import javax .persistence .Column ;
1313import javax .persistence .ElementCollection ;
1414import javax .persistence .Entity ;
15+ import javax .persistence .Lob ;
1516import javax .persistence .OneToMany ;
1617import javax .validation .constraints .Size ;
1718
@@ -55,6 +56,10 @@ public class Service extends BaseEntity {
5556
5657 @ Column (nullable = false )
5758 private Boolean onShortList ;
59+
60+ @ Lob
61+ @ Column (nullable = true )
62+ private String description ;
5863
5964 @ OneToMany (fetch = EAGER , cascade = { REFRESH , REMOVE }, mappedBy = "service" )
6065 @ JsonIdentityInfo (generator = ObjectIdGenerators .PropertyGenerator .class , scope = Note .class , property = "id" )
@@ -148,4 +153,12 @@ public Boolean getOnShortList() {
148153 public void setOnShortList (Boolean onShortList ) {
149154 this .onShortList = onShortList ;
150155 }
156+
157+ public String getDescription () {
158+ return description ;
159+ }
160+
161+ public void setDescription (String description ) {
162+ this .description = description ;
163+ }
151164}
You can’t perform that action at this time.
0 commit comments