-
-
Notifications
You must be signed in to change notification settings - Fork 9.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
项目自荐 | 生成随机数据的mock-data #2480
Labels
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
推荐项目
亮点:更快的构建速度,更高的兼容性,并且支持定位到特定类的特定属性,例如Person类的height和weight进行不同规则的随机构建,只需要像这样
config.fieldCreator(Person::getHeight, new DoubleRandomCreator(30D, 200D))
就可以只让height属性限制在30到200之间。当然,也可以使用自定义的属性构建器,就像这样:示例代码:(可选)
截图:(可选)gif/png/jpg
后续更新计划:
The text was updated successfully, but these errors were encountered: