#1971 建表调整(待完善)

parent dddab7c3
Pipeline #4609 canceled with stages
......@@ -10,7 +10,7 @@
<parent>
<groupId>logwire</groupId>
<artifactId>logwire-parent</artifactId>
<version>1.5.0</version>
<version>1.6.0</version>
</parent>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
......
......@@ -12,11 +12,6 @@ import java.lang.annotation.Target;
@Retention(RetentionPolicy.RUNTIME)
public @interface BizModel {
/**
* 用于 label 国际化
*/
String verboseNameCode();
String label() default "";
/**
......
......@@ -12,7 +12,7 @@ import java.lang.annotation.Target;
@Retention(RetentionPolicy.RUNTIME)
public @interface Column {
String label() default "";
String label();
int length() default 0;
}
......@@ -3,11 +3,11 @@ package logwire.core.bo.object;
import logwire.core.bo.annotation.BizModel;
import logwire.core.bo.annotation.Column;
@BizModel(label = "用户",verboseNameCode = "user")
@BizModel(label = "用户")
public abstract class User extends ModelObject {
@Column()
@Column(label = "gid")
String userGid;
@Column()
@Column(label = "xid")
String userXid;
public Object getId() {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment