add validation in request

This commit is contained in:
Mohd-Arham
2025-12-04 12:17:14 +05:30
parent 28708d1d74
commit 812aa3c2ff
9 changed files with 89 additions and 41 deletions
@@ -1,6 +1,7 @@
package com.billpaymentservice.bbps.dto.response;
import com.billpaymentservice.bbps.dto.TicketDetailsDTO;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;
@@ -9,9 +10,13 @@ public class TicketCheckStatusResponse {
private String refId;
private TicketDetailsDTO ticketDetails;
@JsonProperty(access = JsonProperty.Access.WRITE_ONLY)
private String message;
@JsonProperty(access = JsonProperty.Access.WRITE_ONLY)
private String remarks;
@JsonProperty(access = JsonProperty.Access.WRITE_ONLY)
private String status;
@JsonProperty(access = JsonProperty.Access.WRITE_ONLY)
private String statusCode;
}