ergehenmeng commented on issue #915:
URL: https://github.com/apache/fesod/issues/915#issuecomment-5265676850
类似于JsonProperty 这种复合式注解
```java
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.FIELD)
@JacksonAnnotationsInside
@JsonSerialize(using = SensitiveJsonSerializer.class)
public @interface Sensitive {
DesensitizedType desensitizedType();
}
```
只需要一个转换器就可以实现同一类型转换, 直接使用注解即可, 不需要每个字段都定义转换器, 相当于对 `ExcelProperty` 注解做了增强,
在保持原有功能,还能额外支持自己定制化的需求, 目前 `ExcelProperty` 不支持符合注解
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]