We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
期望提供一个可以在复制属性时可以忽略注解@alias的方式。
The text was updated successfully, but these errors were encountered:
No branches or pull requests
【问题描述】:
如果同时存在下面2个场景:
(1)使用CsvUtil用于将data导出csv文件,这时我们通常会使用注解来标记bean,用于csv文件标题,比如
@alias("支付单号") String payNo
(2)同时我们使用BeanUtil.copyProperties来复制bean属性,此时字段属性名称会被注解所取代,即字段名称将从【payNo】变成【支付单号】,导致无法进行属性copy。
期望提供一个可以在复制属性时可以忽略注解@alias的方式。
The text was updated successfully, but these errors were encountered: