Refactored code for faq
This commit is contained in:
@@ -27,22 +27,15 @@ public class FaqEntity extends BaseEntity {
|
||||
@Column(name = "IS_VISIBLE", nullable = false)
|
||||
private Boolean isVisible;
|
||||
|
||||
@Column(name = "QUESTION_SHORT", length = 255)
|
||||
private String questionShort;
|
||||
|
||||
@Column(name = "QUESTION", columnDefinition = "TEXT")
|
||||
private String question;
|
||||
|
||||
@Column(name = "RESPONSE_SHORT", length = 255)
|
||||
private String responseShort;
|
||||
@Column(name = "TITLE", columnDefinition = "TEXT")
|
||||
private String title;
|
||||
|
||||
@Column(name = "VALUE", columnDefinition = "TEXT")
|
||||
private String value;
|
||||
|
||||
@Column(name = "RESPONSE", columnDefinition = "TEXT")
|
||||
private String response;
|
||||
|
||||
@ManyToOne
|
||||
@JoinColumn(name = "LOOKUP_DATA_ID")
|
||||
private LookUpDataEntity lookupData;
|
||||
|
||||
@Column(name = "RESPONSE_DATE")
|
||||
private LocalDateTime responseDate;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user