imroved webbased datasaved
This commit is contained in:
@@ -26,11 +26,9 @@ public class AdditionalInfo {
|
||||
private Long id; // primary key for the table
|
||||
|
||||
@Column(name = "param_config_id", nullable = false)
|
||||
@NotBlank(message = "Param Config ID cannot be blank")
|
||||
private String paramConfigId;
|
||||
|
||||
@Column(name = "param_name", nullable = false)
|
||||
@NotBlank(message = "Param name cannot be blank")
|
||||
private String paramName;
|
||||
|
||||
@Column(name = "data_type_dao")
|
||||
|
||||
@@ -21,11 +21,9 @@ public class BillerAdditionalInfoPayment {
|
||||
private Long id; // primary key for the table
|
||||
|
||||
@Column(name = "param_config_id", nullable = false)
|
||||
@NotBlank(message = "Param Config ID cannot be blank")
|
||||
private String paramConfigId;
|
||||
|
||||
@Column(name = "param_name", nullable = false)
|
||||
@NotBlank(message = "Param name cannot be blank")
|
||||
private String paramName;
|
||||
|
||||
@Column(name = "data_type_dao")
|
||||
|
||||
@@ -45,18 +45,15 @@ public class BillerDetails{
|
||||
private String billerId;
|
||||
|
||||
@Column(name = "biller_name")
|
||||
@NotBlank(message = "Biller name cannot be blank")
|
||||
private String billerName;
|
||||
|
||||
@Column(name = "biller_alias_name")
|
||||
private String billerAliasName;
|
||||
|
||||
@Column(name = "biller_category_name", nullable = false)
|
||||
@NotBlank(message = "Biller category name cannot be blank")
|
||||
@Column(name = "biller_category_name")
|
||||
private String billerCategoryName;
|
||||
|
||||
@Column(name = "biller_mode")
|
||||
@NotBlank(message = "Biller mode cannot be blank")
|
||||
private String billerMode;
|
||||
|
||||
@Column(name = "biller_accepts_adhoc")
|
||||
@@ -69,14 +66,12 @@ public class BillerDetails{
|
||||
private String parentBillerId;
|
||||
|
||||
@Column(name = "biller_ownership")
|
||||
@NotBlank(message = "Biller ownership is required (PSU or Private)")
|
||||
private String billerOwnerShp;
|
||||
|
||||
@Column(name = "biller_coverage")
|
||||
private String billerCoverage;
|
||||
|
||||
@Column(name = "fetch_requirement")
|
||||
@NotBlank(message = "Fetch requirement is mandatory")
|
||||
private String fetchRequirement;
|
||||
|
||||
@Column(name = "payment_amount_exactness")
|
||||
|
||||
@@ -24,7 +24,6 @@ public class BillerPlanResponseParams {
|
||||
private Long id; // Primary Key
|
||||
|
||||
@Column(name = "biller_plan_response_id", nullable = false, unique = true)
|
||||
@NotBlank(message = "Biller Plan Response ID cannot be blank")
|
||||
private String billerPlanResponseId;
|
||||
// ✅ params list — since it's not a separate table, we can store as JSON or text
|
||||
@Column(name = "params", columnDefinition = "TEXT")
|
||||
|
||||
@@ -29,11 +29,9 @@ public class InterchangeFee {
|
||||
private Long id; // Primary key
|
||||
|
||||
@Column(name = "interchange_fee_id", nullable = false, unique = true)
|
||||
@NotBlank(message = "Interchange Fee ID cannot be blank")
|
||||
private String interchangeFeeId;
|
||||
|
||||
@Column(name = "fee_code", nullable = false)
|
||||
@NotBlank(message = "Fee code is mandatory")
|
||||
private String feeCode;
|
||||
|
||||
@Column(name = "fee_description")
|
||||
|
||||
@@ -27,7 +27,6 @@ public class InterchangeFeeConf {
|
||||
private Long id; // Primary Key for DB table
|
||||
|
||||
@Column(name = "interchange_fee_conf_id", nullable = false, unique = true)
|
||||
@NotBlank(message = "Interchange Fee Config ID cannot be blank")
|
||||
private String interChangeFeeConfId;
|
||||
|
||||
@Column(name = "mti")
|
||||
|
||||
@@ -24,7 +24,6 @@ public class PaymentChannel {
|
||||
@Column(name = "payment_channel_limit_id")
|
||||
private String paymentChannelLimitId; // Primary key (manual, not auto-generated)
|
||||
|
||||
@NotBlank(message = "Payment channel is required")
|
||||
@Column(name = "payment_channel", nullable = false)
|
||||
private String paymentChannel;
|
||||
|
||||
|
||||
@@ -26,11 +26,9 @@ public class PaymentMode {
|
||||
|
||||
@Id //
|
||||
@Column(name = "payment_model_limit_id", unique = true, length = 50)
|
||||
@NotBlank(message = "Payment model limit ID cannot be blank")
|
||||
private String paymentModelLimitId;
|
||||
|
||||
@Column(name = "payment_mode", nullable = false, length = 50)
|
||||
@NotBlank(message = "Payment mode is mandatory")
|
||||
private String paymentMode;
|
||||
|
||||
@Column(name = "max_limit")
|
||||
@@ -42,7 +40,6 @@ public class PaymentMode {
|
||||
private long minLimit;
|
||||
|
||||
@Column(name = "support_pending_status", length = 10)
|
||||
@Pattern(regexp = "^(Yes|No)?$", message = "Support pending status must be either 'Yes' or 'No'")
|
||||
private String supportPendingStatus;
|
||||
|
||||
// 🔗 Many-to-One relationship with BillerDAO
|
||||
|
||||
Reference in New Issue
Block a user