javax.validation.constraints.Email in SpringBoot

后端 未结 0 1694
攒了一身酷
攒了一身酷 2020-12-19 21:46

I have a bean with this validation:

@Email(message = "Email is not valid")
@NotEmpty(message = "Email cannot be empty")
private String ema         


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