Refactored code for faq
This commit is contained in:
@@ -9,7 +9,7 @@ import lombok.Data;
|
||||
@Data
|
||||
public class LookUpDataEntity extends BaseEntity{
|
||||
|
||||
@Column(name = "TITLE", length = 255, nullable = true)
|
||||
@Column(name = "TITLE", columnDefinition = "TEXT", nullable = true)
|
||||
private String title;
|
||||
|
||||
@Column(name = "TYPE", length = 255, nullable = false)
|
||||
@@ -17,6 +17,9 @@ public class LookUpDataEntity extends BaseEntity{
|
||||
|
||||
@Column(name = "VALUE", columnDefinition = "TEXT", nullable = true)
|
||||
private String value;
|
||||
|
||||
@Column(name = "RESPONSE", columnDefinition = "TEXT")
|
||||
private String response;
|
||||
|
||||
public enum LookUpDataTypeEnum {
|
||||
CHECKLIST("CHECKLIST"),
|
||||
|
||||
Reference in New Issue
Block a user