save billerdata to in database working code

This commit is contained in:
himanshu
2025-11-02 00:10:10 +05:30
parent 6ec6847ad2
commit 3f27b5272a
30 changed files with 615 additions and 293 deletions
@@ -4,18 +4,20 @@ import jakarta.persistence.*;
import jakarta.validation.constraints.*;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
import com.fasterxml.jackson.annotation.JsonProperty;
@Getter
@Setter
@Entity
@ToString
@Table(name = "payment_channel")
public class PaymentChannel {
@Id
@Id
@Column(name = "payment_channel_limit_id")
@JsonProperty("paymentChannelLimitId") // 👈 Map JSON field to this property
private String id; // Primary key (manual, not auto-generated)
private String paymentChannelLimitId; // Primary key (manual, not auto-generated)
@NotBlank(message = "Payment channel is required")
@Column(name = "payment_channel", nullable = false)