12-11-25
This commit is contained in:
@@ -30,7 +30,7 @@ public class Plan {
|
||||
@Column(name = "plan_id")
|
||||
private String planId;
|
||||
|
||||
@Column(name = "description")
|
||||
@Column(name = "description", columnDefinition = "TEXT")
|
||||
private String description;
|
||||
|
||||
@Column(name = "biller_id")
|
||||
@@ -51,15 +51,15 @@ public class Plan {
|
||||
@Column(name = "status")
|
||||
private String status;
|
||||
|
||||
@OneToMany(fetch = FetchType.LAZY, cascade = CascadeType.ALL, mappedBy = "plan")
|
||||
private List<PlanCategorySubType> categorySubTypes; // List of categorySubTypes
|
||||
|
||||
@ManyToOne(fetch = FetchType.LAZY)
|
||||
@JoinColumn(name = "plans_list_id")
|
||||
private PlansList plansList;
|
||||
|
||||
@OneToMany(fetch = FetchType.LAZY, cascade = CascadeType.ALL, mappedBy = "plan")
|
||||
private List<PlanCategorySubType> categorySubTypes; // List of categorySubTypes
|
||||
|
||||
@OneToOne(fetch = FetchType.LAZY, cascade = CascadeType.ALL)
|
||||
@JoinColumn(name = "additional_info_id")
|
||||
@JoinColumn(name = "additional_info_id", referencedColumnName = "id")
|
||||
private AdditionalInfoPlans additionalInfo;
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user