springboot bean上的属性注解

一、案例,前台调用传入name、age、phone、address、password然后后台在插入数据库之前进行校验,判断name、address、password是否为null或者empty,phone格式是否正确,年龄是否大于18岁等等 1、创建User package com.cn.dl; import com.fasterxml.jackson.annotation.JsonIgnore
相关文章
相关标签/搜索