我的pojo类中的字段很少,在UI上显示为复选框。
private String borrowerEthnicity1;
private String borrowerEthnicity2;
private Integer borrowerEthnicity3;
private Integer borrowerEthnicity4;
private Integer borrowerEthnicity5;
private Integer borrowerEthnicity3;
private Integer borrowerEthnicity7;
我想验证是否至少检查了其中一个复选框。我正在创建自定义注释但没有运气。请帮帮我。