save billerdata to in database working code
This commit is contained in:
@@ -0,0 +1,39 @@
|
||||
package com.billpaymentservice.bbps.entites;
|
||||
|
||||
import jakarta.persistence.*;
|
||||
import lombok.Getter;
|
||||
import lombok.Setter;
|
||||
|
||||
@Getter
|
||||
@Setter
|
||||
@Entity
|
||||
@Table(name = "custom_param")
|
||||
public class CustomParam {
|
||||
|
||||
@Id
|
||||
@GeneratedValue(strategy = GenerationType.IDENTITY)
|
||||
private Long id;
|
||||
|
||||
@Column(name = "custom_param_name")
|
||||
private String customParamName;
|
||||
|
||||
@Column(name = "data_type")
|
||||
private String dataType;
|
||||
|
||||
@Column(name = "optional")
|
||||
private Boolean optional;
|
||||
|
||||
@Column(name = "min_length")
|
||||
private Integer minLength;
|
||||
|
||||
@Column(name = "max_length")
|
||||
private Integer maxLength;
|
||||
|
||||
@Column(name = "regex")
|
||||
private String regex;
|
||||
|
||||
@Column(name = "visibility")
|
||||
private Boolean visibility;
|
||||
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user