changed trasaction master saving
This commit is contained in:
@@ -30,7 +30,7 @@ import lombok.ToString;
|
||||
public class TransactionMaster extends Auditable {
|
||||
|
||||
// 👇 JSON me "txn_id" aayega, ye DB me bank_txn_id column me save hoga
|
||||
@Id
|
||||
|
||||
@JsonProperty("txn_id")
|
||||
@Column(name = "bank_txn_id", nullable = false, unique = true)
|
||||
private String bankTxnId;
|
||||
@@ -38,6 +38,15 @@ public class TransactionMaster extends Auditable {
|
||||
// 👇 Apna internal transaction id, manually generate or system ke through
|
||||
@Column(name = "txn_id")
|
||||
private String txnId;
|
||||
|
||||
// 👇 New: txn id generated at the time of initiatePayment
|
||||
@Id
|
||||
@Column(name = "initiator_txn_id")
|
||||
private String initiatorTxnId;
|
||||
|
||||
// 👇 New: txn id generated during internal check transaction status
|
||||
@Column(name = "checker_txn_id")
|
||||
private String checkerTxnId;
|
||||
|
||||
@Column(name = "client_user_id")
|
||||
private String clientUserId;
|
||||
|
||||
Reference in New Issue
Block a user