@Validated数据校验

//lastName必须是邮箱格式

    @Email

    private String lastName;

posted @ 2018-11-07 13:00  王醒燕  阅读(1265)  评论(0编辑  收藏  举报