cretaed entities for BillerDetail
This commit is contained in:
@@ -0,0 +1,28 @@
|
||||
package com.billpaymentservice.bbps.dto;
|
||||
import jakarta.validation.constraints.Min;
|
||||
import jakarta.validation.constraints.NotBlank;
|
||||
import lombok.Getter;
|
||||
import lombok.Setter;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
@Getter
|
||||
@Setter
|
||||
public class CustomerParamDTO {
|
||||
private String paramConfigId;
|
||||
@NotBlank(message = "Parameter name is required")
|
||||
private String paramName;
|
||||
private String dataTypeDAO;
|
||||
private String dataTypeModel;
|
||||
private boolean optional;
|
||||
@Min(0)
|
||||
private int minLength;
|
||||
@Min(0)
|
||||
private int maxLength;
|
||||
private String regex;
|
||||
private boolean visibility;
|
||||
// ✅ List of possible values
|
||||
private List<String> values;
|
||||
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user