67 lines
1.7 KiB
Java
67 lines
1.7 KiB
Java
package com.billpaymentservice.bbps.entites;
|
|
|
|
import jakarta.persistence.*;
|
|
import lombok.Getter;
|
|
import lombok.Setter;
|
|
import java.time.LocalDateTime;
|
|
import java.util.List;
|
|
|
|
|
|
@Entity
|
|
@Getter
|
|
@Setter
|
|
@Table(name = "transaction_status")
|
|
public class TransactionStatus {
|
|
|
|
@Id
|
|
@GeneratedValue(strategy = GenerationType.IDENTITY)
|
|
private Long id;
|
|
|
|
@Column(nullable = false, unique = true)
|
|
private String txnId;
|
|
|
|
@Column(nullable = false)
|
|
private String refId;
|
|
|
|
private String txnNpciId;
|
|
private String orderId;
|
|
private String billId;
|
|
private String userType;
|
|
private String userId;
|
|
private Double txnAmount;
|
|
private Double totalTxnAmount;
|
|
private String billerId;
|
|
private String billerCategory;
|
|
private String billerName;
|
|
private String clientReqId;
|
|
private String offUsPay;
|
|
private String splitPay;
|
|
private String quickPay;
|
|
private String paymentMode;
|
|
private Double custConvFee;
|
|
private String currency;
|
|
private String status;
|
|
private String requestedIp;
|
|
private String customerMobNo;
|
|
private String macAddress;
|
|
private Double splitPayAmount;
|
|
private Double couCustConvFee;
|
|
private Boolean settlementVerification;
|
|
private String fundTxnType;
|
|
private String reason;
|
|
private String planId;
|
|
private String planType;
|
|
private LocalDateTime creationDate;
|
|
private LocalDateTime modifiedDate;
|
|
private Long createdEpochDate;
|
|
private Long modifiedEpochDate;
|
|
|
|
@OneToOne(cascade = CascadeType.ALL)
|
|
@JoinColumn(name = "fund_transfer_id")
|
|
private AgentFundTransferEntity agentFundTransfer;
|
|
|
|
@OneToMany(cascade = CascadeType.ALL)
|
|
@JoinColumn(name = "transaction_id")
|
|
private List<CustomerParamDAO> customerParamsDAO;
|
|
}
|