This commit is contained in:
wentch
2015-12-21 11:09:09 +08:00
parent a4e0a11623
commit cf0ddeee90

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