#1971 建表调整(待完善)

parent dddab7c3
Pipeline #4609 canceled with stages
...@@ -10,7 +10,7 @@ ...@@ -10,7 +10,7 @@
<parent> <parent>
<groupId>logwire</groupId> <groupId>logwire</groupId>
<artifactId>logwire-parent</artifactId> <artifactId>logwire-parent</artifactId>
<version>1.5.0</version> <version>1.6.0</version>
</parent> </parent>
<properties> <properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
......
...@@ -12,11 +12,6 @@ import java.lang.annotation.Target; ...@@ -12,11 +12,6 @@ import java.lang.annotation.Target;
@Retention(RetentionPolicy.RUNTIME) @Retention(RetentionPolicy.RUNTIME)
public @interface BizModel { public @interface BizModel {
/**
* 用于 label 国际化
*/
String verboseNameCode();
String label() default ""; String label() default "";
/** /**
......
...@@ -12,7 +12,7 @@ import java.lang.annotation.Target; ...@@ -12,7 +12,7 @@ import java.lang.annotation.Target;
@Retention(RetentionPolicy.RUNTIME) @Retention(RetentionPolicy.RUNTIME)
public @interface Column { public @interface Column {
String label() default ""; String label();
int length() default 0; int length() default 0;
} }
...@@ -3,11 +3,11 @@ package logwire.core.bo.object; ...@@ -3,11 +3,11 @@ package logwire.core.bo.object;
import logwire.core.bo.annotation.BizModel; import logwire.core.bo.annotation.BizModel;
import logwire.core.bo.annotation.Column; import logwire.core.bo.annotation.Column;
@BizModel(label = "用户",verboseNameCode = "user") @BizModel(label = "用户")
public abstract class User extends ModelObject { public abstract class User extends ModelObject {
@Column() @Column(label = "gid")
String userGid; String userGid;
@Column() @Column(label = "xid")
String userXid; String userXid;
public Object getId() { 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