|
@@ -29,12 +29,12 @@ import java.lang.annotation.*;
|
|
public @interface TableId {
|
|
public @interface TableId {
|
|
|
|
|
|
/**
|
|
/**
|
|
- * 字段值(驼峰命名方式,该值可无)
|
|
|
|
|
|
+ * 字段名(该值可无)
|
|
*/
|
|
*/
|
|
String value() default "";
|
|
String value() default "";
|
|
|
|
|
|
/**
|
|
/**
|
|
- * 主键ID
|
|
|
|
|
|
+ * 主键类型
|
|
* {@link IdType}
|
|
* {@link IdType}
|
|
*/
|
|
*/
|
|
IdType type() default IdType.NONE;
|
|
IdType type() default IdType.NONE;
|