solved duplicate key problem on getBillerData
This commit is contained in:
@@ -28,8 +28,7 @@ public class BillerDetails {
|
||||
@NotBlank(message = "Biller name cannot be blank")
|
||||
private String billerName;
|
||||
|
||||
@Column(name = "biller_alias_name", nullable = false)
|
||||
@NotBlank(message = "Biller alias name cannot be blank")
|
||||
@Column(name = "biller_alias_name")
|
||||
private String billerAliasName;
|
||||
|
||||
@Column(name = "biller_category_name", nullable = false)
|
||||
@@ -43,39 +42,36 @@ public class BillerDetails {
|
||||
@Column(name = "biller_accepts_adhoc", nullable = false)
|
||||
private boolean billerAcceptsAdhoc;
|
||||
|
||||
@Column(name = "parent_biller", nullable = false)
|
||||
@Column(name = "parent_biller")
|
||||
private boolean parentBiller;
|
||||
|
||||
@Column(name = "parent_biller_id", nullable = false)
|
||||
@NotBlank(message = "Parent biller ID cannot be blank")
|
||||
@Column(name = "parent_biller_id")
|
||||
private String parentBillerId;
|
||||
|
||||
@Column(name = "biller_ownership", nullable = false)
|
||||
@Column(name = "biller_ownership")
|
||||
@NotBlank(message = "Biller ownership is required (PSU or Private)")
|
||||
private String billerOwnerShp;
|
||||
|
||||
@Column(name = "biller_coverage", nullable = false)
|
||||
@NotBlank(message = "Biller coverage cannot be blank")
|
||||
@Column(name = "biller_coverage")
|
||||
private String billerCoverage;
|
||||
|
||||
@Column(name = "fetch_requirement", nullable = false)
|
||||
@Column(name = "fetch_requirement")
|
||||
@NotBlank(message = "Fetch requirement is mandatory")
|
||||
private String fetchRequirement;
|
||||
|
||||
@Column(name = "payment_amount_exactness", nullable = false)
|
||||
@Column(name = "payment_amount_exactness")
|
||||
@NotBlank(message = "Payment amount exactness is required")
|
||||
private String paymentAmountExactness;
|
||||
|
||||
@Column(name = "support_bill_validation", nullable = false)
|
||||
@Column(name = "support_bill_validation")
|
||||
@NotBlank(message = "Support bill validation is required")
|
||||
private String supportBillValidation;
|
||||
|
||||
@Column(name = "biller_effctv_from", nullable = false)
|
||||
@Column(name = "biller_effctv_from")
|
||||
@NotBlank(message = "Effective from date is required")
|
||||
private String billerEffctvFrom;
|
||||
|
||||
@Column(name = "biller_effctv_to", nullable = false)
|
||||
@NotBlank(message = "Effective to date is required")
|
||||
@Column(name = "biller_effctv_to")
|
||||
private String billerEffctvTo;
|
||||
|
||||
@Column(name = "biller_temp_deactivation_start")
|
||||
@@ -84,32 +80,25 @@ public class BillerDetails {
|
||||
@Column(name = "biller_temp_deactivation_end")
|
||||
private String billerTempDeactivationEnd;
|
||||
|
||||
@Column(name = "biller_description", nullable = false, length = 500)
|
||||
@NotBlank(message = "Biller description cannot be blank")
|
||||
@Column(name = "biller_description", length = 500)
|
||||
private String billerDescription;
|
||||
|
||||
@Column(name = "biller_response_type", nullable = false)
|
||||
@NotBlank(message = "Biller response type is required (SINGLE or SELECTIVE)")
|
||||
@Column(name = "biller_response_type")
|
||||
private String billerResponseType;
|
||||
|
||||
@Column(name = "plan_mdm_requirement", nullable = false)
|
||||
@NotBlank(message = "Plan MDM requirement cannot be blank")
|
||||
@Column(name = "plan_mdm_requirement")
|
||||
private String planMDMRequirement;
|
||||
|
||||
@Column(name = "status", nullable = false)
|
||||
@NotBlank(message = "Status must be ACTIVE or INACTIVE")
|
||||
@Column(name = "status")
|
||||
private String status;
|
||||
|
||||
@Column(name = "support_deemed", nullable = false)
|
||||
@NotBlank(message = "Support deemed value is required (Yes/No)")
|
||||
@Column(name = "support_deemed")
|
||||
private String supportDeemed;
|
||||
|
||||
@Column(name = "support_pending_status", nullable = false)
|
||||
@NotBlank(message = "Support pending status is required (Yes/No)")
|
||||
@Column(name = "support_pending_status")
|
||||
private String supportPendingStatus;
|
||||
|
||||
@Column(name = "biller_time_out", nullable = false)
|
||||
@NotBlank(message = "Biller timeout is required")
|
||||
@Column(name = "biller_time_out")
|
||||
private String billerTimeOut;
|
||||
|
||||
@Column(name = "route_url")
|
||||
@@ -151,7 +140,6 @@ public class BillerDetails {
|
||||
* @OneToMany(mappedBy = "biller", cascade = CascadeType.ALL, orphanRemoval =
|
||||
* true) private List<AdditionalInfo> billerAdditionalInfoPayments;
|
||||
*/
|
||||
|
||||
@OneToMany(mappedBy = "biller", cascade = CascadeType.ALL, orphanRemoval = true)
|
||||
private List<InterchangeFeeConf> interchangeFeeConves;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user