Refactored code for faq

This commit is contained in:
rajesh
2024-09-04 19:21:32 +05:30
parent e51c86806a
commit 286baa9c21
15 changed files with 203 additions and 245 deletions

View File

@@ -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"),