72 lines
1.6 KiB
Java
72 lines
1.6 KiB
Java
package com.billpaymentservice.bbps.entites;
|
|
import jakarta.persistence.*;
|
|
import lombok.Getter;
|
|
import lombok.Setter;
|
|
import lombok.ToString;
|
|
|
|
@Entity
|
|
@Table(name = "complaint_details")
|
|
@Getter
|
|
@Setter
|
|
@ToString
|
|
public class ComplaintDetails {
|
|
|
|
@Id
|
|
@Column(name = "complaint_id", nullable = false, unique = true)
|
|
private String complaintId; // Primary key (UUID from BBPS API)
|
|
|
|
@Column(name = "req_id")
|
|
private String reqId;
|
|
|
|
@Column(name = "txn_id")
|
|
private String txnId;
|
|
|
|
@Column(name = "complaint_descr")
|
|
private String complaintDescr;
|
|
|
|
@Column(name = "complaint_dispos")
|
|
private String complaintDispos;
|
|
|
|
@Column(name = "complaint_type")
|
|
private String complaintType;
|
|
|
|
@Column(name = "bank_txn_id")
|
|
private String bankTxnId;
|
|
|
|
@Column(name = "txn_npci_id")
|
|
private String txnNpciId;
|
|
|
|
@Column(name = "assigned_to")
|
|
private String assignedTo;
|
|
|
|
@Column(name = "complaint_npci_id")
|
|
private String complaintNpciId;
|
|
|
|
@Column(name = "complaint_raised_from")
|
|
private String complaintRaisedFrom;
|
|
|
|
@Column(name = "user_id")
|
|
private String userId;
|
|
|
|
@Column(name = "status")
|
|
private String status;
|
|
|
|
@Column(name = "ref_id")
|
|
private String refId;
|
|
|
|
@Column(name = "estimated_tat")
|
|
private String estimated_TAT;
|
|
|
|
@Column(name = "creation_date")
|
|
private String creationDate;
|
|
|
|
@Column(name = "modified_date")
|
|
private String modifiedDate;
|
|
|
|
@Column(name = "created_epoch_date")
|
|
private Long createdEpochDate;
|
|
|
|
@Column(name = "modified_epoch_date")
|
|
private Long modifiedEpochDate;
|
|
}
|