Files
bbps-backend/src/main/java/com/billpaymentservice/bbps/dto/request/BaseClass.java
T

55 lines
1.1 KiB
Java
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
package com.billpaymentservice.bbps.dto.request;
import com.billpaymentservice.bbps.dto.DeviceDetail;
import com.fasterxml.jackson.annotation.JsonProperty;
import jakarta.validation.constraints.NotBlank;
import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
import lombok.ToString;
@Getter
@Setter
@AllArgsConstructor
@NoArgsConstructor
@ToString
public abstract class BaseClass {
@NotBlank(message = "MID cannot be null or blank")
private String mid;
@NotBlank(message = "Secret key cannot be null or blank")
private String secretKey;
@NotBlank(message = "Request ID cannot be null or blank")
private String reqId;
private String txnId;
private DeviceDetail deviceDetial;
// ✅ 10 User Defined Fields (UDF1–UDF10)
private String udf1;
@JsonProperty(access = JsonProperty.Access.WRITE_ONLY)
private String udf2;
private String udf3;
private String udf4;
private String udf5;
private String udf6;
private String udf7;
private String udf8;
private String udf9;
private String udf10;
}