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
相關文章
相關標籤/搜索