i want to set in my entity about minimum value is 1 and maximum value is 999 how to set that?

后端 未结 0 1505
独厮守ぢ
独厮守ぢ 2021-02-10 09:58

have try to set in my entity with not null, this code is okay

@NotNull(message = "Minimum Day can\'t be null")
private Integer minimumDay;

@NotNull(mes         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题