cretaed entities for BillerDetail
This commit is contained in:
@@ -0,0 +1,26 @@
|
||||
package com.billpaymentservice.bbps.dto;
|
||||
import java.util.List;
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
|
||||
|
||||
import jakarta.validation.constraints.NotBlank;
|
||||
import lombok.Getter;
|
||||
import lombok.Setter;
|
||||
|
||||
@Getter
|
||||
@Setter
|
||||
@JsonIgnoreProperties(ignoreUnknown = true)
|
||||
public class InterchangeFeeDTO {
|
||||
@NotBlank(message = "Interchange Fee ID cannot be blank")
|
||||
private String interchangeFeeId;
|
||||
|
||||
@NotBlank(message = "Fee code is mandatory")
|
||||
private String feeCode;
|
||||
|
||||
private String feeDesc;
|
||||
private String feeDirection;
|
||||
|
||||
// ✅ One-to-Many relation represented by DTO list
|
||||
private List<InterchangeFeeDetailDTO> interchangeFeeDetails;
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user