cretaed entities for BillerDetail
This commit is contained in:
@@ -0,0 +1,27 @@
|
||||
package com.billpaymentservice.bbps.dto;
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonProperty;
|
||||
import jakarta.validation.constraints.Min;
|
||||
import jakarta.validation.constraints.NotBlank;
|
||||
import lombok.Getter;
|
||||
import lombok.Setter;
|
||||
|
||||
@Getter
|
||||
@Setter
|
||||
public class PaymentChannelDTO {
|
||||
private String paymentChannelLimitId;
|
||||
|
||||
@NotBlank(message = "Payment channel is required")
|
||||
private String paymentChannel;
|
||||
|
||||
@Min(value = 0, message = "Max limit cannot be negative")
|
||||
private long maxLimit;
|
||||
|
||||
@Min(value = 0, message = "Min limit cannot be negative")
|
||||
private long minLimit;
|
||||
|
||||
private String supportPendingStatus;
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user