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

27 lines
678 B
Java

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;
}