Dto中使用正则校验规则,保证传入数据的正确性

使用RegularExpression

原文地址:https://www.cnblogs.com/moonstars/p/13494443.html