This commit is contained in:
wentch
2015-12-21 11:17:34 +08:00
parent cf0ddeee90
commit 65af6e16a9

View File

@@ -12,6 +12,7 @@ import static java.lang.annotation.RetentionPolicy.RUNTIME;
/**
* 用于类名的别名, 类似javax.persistence.Table
* 该值必须是全局唯一
* 使用场景: 当BSON序列化为了不指定class可以使用@ConvertEntity来取个别名。关联方法: Reader.readClassName() 和 Writer.wirteClassName(String value) 。
*
* @see http://www.redkale.org
* @author zhangjx