24-12-25
This commit is contained in:
@@ -1,5 +1,15 @@
|
||||
package com.billpaymentservice.bbps.dto;
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonProperty;
|
||||
|
||||
import lombok.Getter;
|
||||
import lombok.Setter;
|
||||
|
||||
@Getter
|
||||
@Setter
|
||||
public class ContactMaster {
|
||||
private String mobNo;
|
||||
@JsonProperty(access = JsonProperty.Access.WRITE_ONLY)
|
||||
private String tenantId;
|
||||
|
||||
}
|
||||
|
||||
@@ -4,11 +4,11 @@ import lombok.AllArgsConstructor;
|
||||
import lombok.Getter;
|
||||
import lombok.NoArgsConstructor;
|
||||
import lombok.Setter;
|
||||
|
||||
@Getter
|
||||
@Setter
|
||||
@AllArgsConstructor
|
||||
@AllArgsConstructor
|
||||
@NoArgsConstructor
|
||||
public class ContactMasterRequest {
|
||||
private String category;
|
||||
private String tenantId;
|
||||
public class ContactMasterRequest extends BaseClass {
|
||||
private String category;
|
||||
}
|
||||
|
||||
@@ -20,6 +20,4 @@ public class GetTicketLatestStausRequest extends BaseClass {
|
||||
@NotBlank(message = "ticketId Id cannot be null or blank")
|
||||
private String ticketId;
|
||||
|
||||
|
||||
private String tenantId;
|
||||
}
|
||||
|
||||
@@ -1,10 +1,11 @@
|
||||
package com.billpaymentservice.bbps.dto.response;
|
||||
|
||||
|
||||
import java.util.List;
|
||||
|
||||
import com.billpaymentservice.bbps.dto.ContactMaster;
|
||||
import com.billpaymentservice.bbps.dto.GeneralResp;
|
||||
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
|
||||
import com.fasterxml.jackson.annotation.JsonProperty;
|
||||
|
||||
import lombok.AllArgsConstructor;
|
||||
import lombok.Getter;
|
||||
@@ -15,10 +16,12 @@ import lombok.Setter;
|
||||
@Setter
|
||||
@NoArgsConstructor
|
||||
@AllArgsConstructor
|
||||
@JsonIgnoreProperties(ignoreUnknown = true)
|
||||
public class ContactMasterResponse {
|
||||
|
||||
private GeneralResp generalResp;
|
||||
private List<ContactMaster> contactMasterList;
|
||||
|
||||
}
|
||||
@JsonProperty(access = JsonProperty.Access.WRITE_ONLY)
|
||||
private GeneralResp generalResp;
|
||||
private List<ContactMaster> contactMasterList;
|
||||
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user