Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
logwire-bo-sdk
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
薛涛 Toby Xue
logwire-bo-sdk
Commits
312a4c91
Commit
312a4c91
authored
Dec 31, 2020
by
姜逸青 Jameson Jiang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
#1971 建表调整(待完善)
parent
dddab7c3
Pipeline
#4609
canceled with stages
Changes
4
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
5 additions
and
10 deletions
+5
-10
pom.xml
pom.xml
+1
-1
BizModel.java
src/main/java/logwire/core/bo/annotation/BizModel.java
+0
-5
Column.java
src/main/java/logwire/core/bo/annotation/Column.java
+1
-1
User.java
src/main/java/logwire/core/bo/object/User.java
+3
-3
No files found.
pom.xml
View file @
312a4c91
...
...
@@ -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>
...
...
src/main/java/logwire/core/bo/annotation/BizModel.java
View file @
312a4c91
...
...
@@ -12,11 +12,6 @@ import java.lang.annotation.Target;
@Retention
(
RetentionPolicy
.
RUNTIME
)
public
@interface
BizModel
{
/**
* 用于 label 国际化
*/
String
verboseNameCode
();
String
label
()
default
""
;
/**
...
...
src/main/java/logwire/core/bo/annotation/Column.java
View file @
312a4c91
...
...
@@ -12,7 +12,7 @@ import java.lang.annotation.Target;
@Retention
(
RetentionPolicy
.
RUNTIME
)
public
@interface
Column
{
String
label
()
default
""
;
String
label
();
int
length
()
default
0
;
}
src/main/java/logwire/core/bo/object/User.java
View file @
312a4c91
...
...
@@ -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
()
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment