update code complaint code
This commit is contained in:
@@ -0,0 +1,68 @@
|
||||
package com.billpaymentservice.bbps.entites;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
import jakarta.persistence.CascadeType;
|
||||
import jakarta.persistence.Column;
|
||||
import jakarta.persistence.Entity;
|
||||
import jakarta.persistence.GeneratedValue;
|
||||
import jakarta.persistence.GenerationType;
|
||||
import jakarta.persistence.Id;
|
||||
import jakarta.persistence.JoinColumn;
|
||||
import jakarta.persistence.OneToMany;
|
||||
import jakarta.persistence.OneToOne;
|
||||
import jakarta.persistence.Table;
|
||||
import lombok.Getter;
|
||||
import lombok.Setter;
|
||||
|
||||
@Entity
|
||||
@Table(name = "check_client_biller_data")
|
||||
@Getter
|
||||
@Setter
|
||||
public class CheckClientBillerData {
|
||||
|
||||
@Id
|
||||
@GeneratedValue(strategy = GenerationType.IDENTITY)
|
||||
private Long id;
|
||||
|
||||
// Correct 1-1 link back to Parent
|
||||
@OneToOne
|
||||
@JoinColumn(name = "bill_id", referencedColumnName = "bill_id")
|
||||
private CheckClientStatusReqId billMaster;
|
||||
|
||||
@Column(name = "amount")
|
||||
private String amount;
|
||||
|
||||
@Column(name = "bill_date")
|
||||
private String billDate;
|
||||
|
||||
@Column(name = "bill_number")
|
||||
private String billNumber;
|
||||
|
||||
@Column(name = "bill_period")
|
||||
private String billPeriod;
|
||||
|
||||
@Column(name = "cust_conv_fee")
|
||||
private String custConvFee;
|
||||
|
||||
@Column(name = "cou_cust_conv_fee")
|
||||
private String couCustConvFee;
|
||||
|
||||
@Column(name = "due_date")
|
||||
private String dueDate;
|
||||
|
||||
@Column(name = "customer_name")
|
||||
private String customerName;
|
||||
|
||||
@Column(name = "amount_option")
|
||||
private Boolean amountOption;
|
||||
|
||||
@OneToMany(mappedBy = "billerResponse", cascade = CascadeType.ALL)
|
||||
private List<BillTag> tagList;
|
||||
|
||||
@OneToMany(mappedBy = "billerResponse", cascade = CascadeType.ALL)
|
||||
private List<BillAdditionalInfo> additionalInfo;
|
||||
|
||||
@OneToMany(mappedBy = "billerResponse", cascade = CascadeType.ALL)
|
||||
private List<BillCustomerParams> customerParams;
|
||||
}
|
||||
Reference in New Issue
Block a user