Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有一个注册表单,其中包含输入字段,几乎每个字段都映射到 User 类的属性。但是有些字段没有映射。验证是通过 User 类中的注释完成的。
我的问题是:如何验证那些未映射的字段?