Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
guns-vip
Overview
Overview
Details
Activity
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
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
chenjunxiong
guns-vip
Commits
54c70573
Commit
54c70573
authored
Mar 31, 2019
by
fengshuonan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
更新数据库小写
parent
6de6191e
Show whitespace changes
Inline
Side-by-side
Showing
11 changed files
with
114 additions
and
115 deletions
+114
-115
src/main/java/cn/stylefeng/guns/modular/system/entity/Dept.java
+12
-12
src/main/java/cn/stylefeng/guns/modular/system/entity/Dict.java
+13
-13
src/main/java/cn/stylefeng/guns/modular/system/entity/DictType.java
+11
-11
src/main/java/cn/stylefeng/guns/modular/system/entity/FileInfo.java
+6
-6
src/main/java/cn/stylefeng/guns/modular/system/entity/LoginLog.java
+7
-8
src/main/java/cn/stylefeng/guns/modular/system/entity/Menu.java
+18
-18
src/main/java/cn/stylefeng/guns/modular/system/entity/Notice.java
+7
-7
src/main/java/cn/stylefeng/guns/modular/system/entity/OperationLog.java
+9
-9
src/main/java/cn/stylefeng/guns/modular/system/entity/Relation.java
+3
-3
src/main/java/cn/stylefeng/guns/modular/system/entity/Role.java
+10
-10
src/main/java/cn/stylefeng/guns/modular/system/entity/User.java
+18
-18
No files found.
src/main/java/cn/stylefeng/guns/modular/system/entity/Dept.java
View file @
54c70573
...
...
@@ -21,62 +21,62 @@ public class Dept implements Serializable {
/**
* 主键id
*/
@TableId
(
value
=
"
DEPT_ID
"
,
type
=
IdType
.
ID_WORKER
)
@TableId
(
value
=
"
dept_id
"
,
type
=
IdType
.
ID_WORKER
)
private
Long
deptId
;
/**
* 父部门id
*/
@TableField
(
"
PID
"
)
@TableField
(
"
pid
"
)
private
Long
pid
;
/**
* 父级ids
*/
@TableField
(
"
PIDS
"
)
@TableField
(
"
pids
"
)
private
String
pids
;
/**
* 简称
*/
@TableField
(
"
SIMPLE_NAME
"
)
@TableField
(
"
simple_name
"
)
private
String
simpleName
;
/**
* 全称
*/
@TableField
(
"
FULL_NAME
"
)
@TableField
(
"
full_name
"
)
private
String
fullName
;
/**
* 描述
*/
@TableField
(
"
DESCRIPTION
"
)
@TableField
(
"
description
"
)
private
String
description
;
/**
* 版本(乐观锁保留字段)
*/
@TableField
(
"
VERSION
"
)
@TableField
(
"
version
"
)
private
Integer
version
;
/**
* 排序
*/
@TableField
(
"
SORT
"
)
@TableField
(
"
sort
"
)
private
Integer
sort
;
/**
* 创建时间
*/
@TableField
(
value
=
"
CREATE_TIME
"
,
fill
=
FieldFill
.
INSERT
)
@TableField
(
value
=
"
create_time
"
,
fill
=
FieldFill
.
INSERT
)
private
Date
createTime
;
/**
* 修改时间
*/
@TableField
(
value
=
"
UPDATE_TIME
"
,
fill
=
FieldFill
.
UPDATE
)
@TableField
(
value
=
"
update_time
"
,
fill
=
FieldFill
.
UPDATE
)
private
Date
updateTime
;
/**
* 创建人
*/
@TableField
(
value
=
"
CREATE_USER
"
,
fill
=
FieldFill
.
INSERT
)
@TableField
(
value
=
"
create_user
"
,
fill
=
FieldFill
.
INSERT
)
private
Long
createUser
;
/**
* 修改人
*/
@TableField
(
value
=
"
UPDATE_USER
"
,
fill
=
FieldFill
.
UPDATE
)
@TableField
(
value
=
"
update_user
"
,
fill
=
FieldFill
.
UPDATE
)
private
Long
updateUser
;
...
...
src/main/java/cn/stylefeng/guns/modular/system/entity/Dict.java
View file @
54c70573
...
...
@@ -26,79 +26,79 @@ public class Dict implements Serializable {
/**
* 字典id
*/
@TableId
(
"
DICT_ID
"
)
@TableId
(
"
dict_id
"
)
private
Long
dictId
;
/**
* 所属字典类型的id
*/
@TableField
(
"
DICT_TYPE_ID
"
)
@TableField
(
"
dict_type_id
"
)
private
Long
dictTypeId
;
/**
* 字典编码
*/
@TableField
(
"
CODE
"
)
@TableField
(
"
code
"
)
private
String
code
;
/**
* 字典名称
*/
@TableField
(
"
NAME
"
)
@TableField
(
"
name
"
)
private
String
name
;
/**
* 上级代码id
*/
@TableField
(
"
PARENT_ID
"
)
@TableField
(
"
parent_id
"
)
private
Long
parentId
;
/**
* 所有上级代码id
*/
@TableField
(
"
PARENT_IDS
"
)
@TableField
(
"
parent_ids
"
)
private
String
parentIds
;
/**
* 状态(字典)
*/
@TableField
(
"
STATUS
"
)
@TableField
(
"
status
"
)
private
String
status
;
/**
* 字典的描述
*/
@TableField
(
"
DESCRIPTION
"
)
@TableField
(
"
description
"
)
private
String
description
;
/**
* 排序
*/
@TableField
(
"
SORT
"
)
@TableField
(
"
sort
"
)
private
Integer
sort
;
/**
* 创建时间
*/
@TableField
(
value
=
"
CREATE_TIME
"
,
fill
=
FieldFill
.
INSERT
)
@TableField
(
value
=
"
create_time
"
,
fill
=
FieldFill
.
INSERT
)
private
Date
createTime
;
/**
* 更新时间
*/
@TableField
(
value
=
"
UPDATE_TIME
"
,
fill
=
FieldFill
.
UPDATE
)
@TableField
(
value
=
"
update_time
"
,
fill
=
FieldFill
.
UPDATE
)
private
Date
updateTime
;
/**
* 创建人
*/
@TableField
(
value
=
"
CREATE_USER
"
,
fill
=
FieldFill
.
INSERT
)
@TableField
(
value
=
"
create_user
"
,
fill
=
FieldFill
.
INSERT
)
private
Long
createUser
;
/**
* 修改人
*/
@TableField
(
value
=
"
UPDATE_USER
"
,
fill
=
FieldFill
.
UPDATE
)
@TableField
(
value
=
"
update_user
"
,
fill
=
FieldFill
.
UPDATE
)
private
Long
updateUser
;
}
src/main/java/cn/stylefeng/guns/modular/system/entity/DictType.java
View file @
54c70573
...
...
@@ -26,67 +26,67 @@ public class DictType implements Serializable {
/**
* 字典类型id
*/
@TableId
(
"
DICT_TYPE_ID
"
)
@TableId
(
"
dict_type_id
"
)
private
Long
dictTypeId
;
/**
* 是否是系统字典,Y-是,N-否
*/
@TableField
(
"
SYSTEM_FLAG
"
)
@TableField
(
"
system_flag
"
)
private
String
systemFlag
;
/**
* 字典类型编码
*/
@TableField
(
"
CODE
"
)
@TableField
(
"
code
"
)
private
String
code
;
/**
* 字典类型名称
*/
@TableField
(
"
NAME
"
)
@TableField
(
"
name
"
)
private
String
name
;
/**
* 字典描述
*/
@TableField
(
"
DESCRIPTION
"
)
@TableField
(
"
description
"
)
private
String
description
;
/**
* 状态(字典)
*/
@TableField
(
"
STATUS
"
)
@TableField
(
"
status
"
)
private
String
status
;
/**
* 排序
*/
@TableField
(
"
SORT
"
)
@TableField
(
"
sort
"
)
private
Integer
sort
;
/**
* 添加时间
*/
@TableField
(
value
=
"
CREATE_TIME
"
,
fill
=
FieldFill
.
INSERT
)
@TableField
(
value
=
"
create_time
"
,
fill
=
FieldFill
.
INSERT
)
private
Date
createTime
;
/**
* 创建人
*/
@TableField
(
value
=
"
CREATE_USER
"
,
fill
=
FieldFill
.
INSERT
)
@TableField
(
value
=
"
create_user
"
,
fill
=
FieldFill
.
INSERT
)
private
Long
createUser
;
/**
* 修改时间
*/
@TableField
(
value
=
"
UPDATE_TIME
"
,
fill
=
FieldFill
.
UPDATE
)
@TableField
(
value
=
"
update_time
"
,
fill
=
FieldFill
.
UPDATE
)
private
Date
updateTime
;
/**
* 修改人
*/
@TableField
(
value
=
"
UPDATE_USER
"
,
fill
=
FieldFill
.
UPDATE
)
@TableField
(
value
=
"
update_user
"
,
fill
=
FieldFill
.
UPDATE
)
private
Long
updateUser
;
}
src/main/java/cn/stylefeng/guns/modular/system/entity/FileInfo.java
View file @
54c70573
...
...
@@ -22,32 +22,32 @@ public class FileInfo implements Serializable {
/**
* 主键id
*/
@TableId
(
value
=
"
FILE_ID
"
,
type
=
IdType
.
ID_WORKER_STR
)
@TableId
(
value
=
"
file_id
"
,
type
=
IdType
.
ID_WORKER_STR
)
private
String
fileId
;
/**
* base64编码的文件
*/
@TableField
(
"
FILE_DATA
"
)
@TableField
(
"
file_data
"
)
private
String
fileData
;
/**
* 创建时间
*/
@TableField
(
value
=
"
CREATE_TIME
"
,
fill
=
FieldFill
.
INSERT
)
@TableField
(
value
=
"
create_time
"
,
fill
=
FieldFill
.
INSERT
)
private
Date
createTime
;
/**
* 修改时间
*/
@TableField
(
value
=
"
UPDATE_TIME
"
,
fill
=
FieldFill
.
UPDATE
)
@TableField
(
value
=
"
update_time
"
,
fill
=
FieldFill
.
UPDATE
)
private
Date
updateTime
;
/**
* 创建用户
*/
@TableField
(
value
=
"
CREATE_USER
"
,
fill
=
FieldFill
.
INSERT
)
@TableField
(
value
=
"
create_user
"
,
fill
=
FieldFill
.
INSERT
)
private
Long
createUser
;
/**
* 修改用户
*/
@TableField
(
value
=
"
UPDATE_USER
"
,
fill
=
FieldFill
.
UPDATE
)
@TableField
(
value
=
"
update_user
"
,
fill
=
FieldFill
.
UPDATE
)
private
Long
updateUser
;
...
...
src/main/java/cn/stylefeng/guns/modular/system/entity/LoginLog.java
View file @
54c70573
...
...
@@ -21,40 +21,39 @@ public class LoginLog implements Serializable {
/**
* 主键
*/
@TableId
(
value
=
"
LOGIN_LOG_ID
"
,
type
=
IdType
.
ID_WORKER
)
@TableId
(
value
=
"
login_log_id
"
,
type
=
IdType
.
ID_WORKER
)
private
Long
loginLogId
;
/**
* 日志名称
*/
@TableField
(
"
LOG_NAME
"
)
@TableField
(
"
log_name
"
)
private
String
logName
;
/**
* 管理员id
*/
@TableField
(
"
USER_ID
"
)
@TableField
(
"
user_id
"
)
private
Long
userId
;
/**
* 创建时间
*/
@TableField
(
value
=
"
CREATE_TIME
"
,
fill
=
FieldFill
.
INSERT
)
@TableField
(
value
=
"
create_time
"
,
fill
=
FieldFill
.
INSERT
)
private
Date
createTime
;
/**
* 是否执行成功
*/
@TableField
(
"
SUCCEED
"
)
@TableField
(
"
succeed
"
)
private
String
succeed
;
/**
* 具体消息
*/
@TableField
(
"
MESSAGE
"
)
@TableField
(
"
message
"
)
private
String
message
;
/**
* 登录ip
*/
@TableField
(
"
IP_ADDRESS
"
)
@TableField
(
"
ip_address
"
)
private
String
ipAddress
;
public
Long
getLoginLogId
()
{
return
loginLogId
;
}
...
...
src/main/java/cn/stylefeng/guns/modular/system/entity/Menu.java
View file @
54c70573
...
...
@@ -21,92 +21,92 @@ public class Menu implements Serializable {
/**
* 主键id
*/
@TableId
(
value
=
"
MENU_ID
"
,
type
=
IdType
.
ID_WORKER
)
@TableId
(
value
=
"
menu_id
"
,
type
=
IdType
.
ID_WORKER
)
private
Long
menuId
;
/**
* 菜单编号
*/
@TableField
(
"
CODE
"
)
@TableField
(
"
code
"
)
private
String
code
;
/**
* 菜单父编号
*/
@TableField
(
"
PCODE
"
)
@TableField
(
"
pcode
"
)
private
String
pcode
;
/**
* 当前菜单的所有父菜单编号
*/
@TableField
(
"
PCODES
"
)
@TableField
(
"
pcodes
"
)
private
String
pcodes
;
/**
* 菜单名称
*/
@TableField
(
"
NAME
"
)
@TableField
(
"
name
"
)
private
String
name
;
/**
* 菜单图标
*/
@TableField
(
"
ICON
"
)
@TableField
(
"
icon
"
)
private
String
icon
;
/**
* url地址
*/
@TableField
(
"
URL
"
)
@TableField
(
"
url
"
)
private
String
url
;
/**
* 菜单排序号
*/
@TableField
(
"
SORT
"
)
@TableField
(
"
sort
"
)
private
Integer
sort
;
/**
* 菜单层级
*/
@TableField
(
"
LEVELS
"
)
@TableField
(
"
levels
"
)
private
Integer
levels
;
/**
* 是否是菜单(字典)
*/
@TableField
(
"
MENU_FLAG
"
)
@TableField
(
"
menu_flag
"
)
private
String
menuFlag
;
/**
* 备注
*/
@TableField
(
"
DESCRIPTION
"
)
@TableField
(
"
description
"
)
private
String
description
;
/**
* 菜单状态(字典)
*/
@TableField
(
"
STATUS
"
)
@TableField
(
"
status
"
)
private
String
status
;
/**
* 是否打开新页面的标识(字典)
*/
@TableField
(
"
NEW_PAGE_FLAG
"
)
@TableField
(
"
new_page_flag
"
)
private
String
newPageFlag
;
/**
* 是否打开(字典)
*/
@TableField
(
"
OPEN_FLAG
"
)
@TableField
(
"
open_flag
"
)
private
String
openFlag
;
/**
* 创建时间
*/
@TableField
(
value
=
"
CREATE_TIME
"
,
fill
=
FieldFill
.
INSERT
)
@TableField
(
value
=
"
create_time
"
,
fill
=
FieldFill
.
INSERT
)
private
Date
createTime
;
/**
* 修改时间
*/
@TableField
(
value
=
"
UPDATE_TIME
"
,
fill
=
FieldFill
.
UPDATE
)
@TableField
(
value
=
"
update_time
"
,
fill
=
FieldFill
.
UPDATE
)
private
Date
updateTime
;
/**
* 创建人
*/
@TableField
(
value
=
"
CREATE_USER
"
,
fill
=
FieldFill
.
INSERT
)
@TableField
(
value
=
"
create_user
"
,
fill
=
FieldFill
.
INSERT
)
private
Long
createUser
;
/**
* 修改人
*/
@TableField
(
value
=
"
UPDATE_USER
"
,
fill
=
FieldFill
.
UPDATE
)
@TableField
(
value
=
"
update_user
"
,
fill
=
FieldFill
.
UPDATE
)
private
Long
updateUser
;
...
...
src/main/java/cn/stylefeng/guns/modular/system/entity/Notice.java
View file @
54c70573
...
...
@@ -21,37 +21,37 @@ public class Notice implements Serializable {
/**
* 主键
*/
@TableId
(
value
=
"
NOTICE_ID
"
,
type
=
IdType
.
ID_WORKER
)
@TableId
(
value
=
"
notice_id
"
,
type
=
IdType
.
ID_WORKER
)
private
Long
noticeId
;
/**
* 标题
*/
@TableField
(
"
TITLE
"
)
@TableField
(
"
title
"
)
private
String
title
;
/**
* 内容
*/
@TableField
(
"
CONTENT
"
)
@TableField
(
"
content
"
)
private
String
content
;
/**
* 创建时间
*/
@TableField
(
value
=
"
CREATE_TIME
"
,
fill
=
FieldFill
.
INSERT
)
@TableField
(
value
=
"
create_time
"
,
fill
=
FieldFill
.
INSERT
)
private
Date
createTime
;
/**
* 创建人
*/
@TableField
(
value
=
"
CREATE_USER
"
,
fill
=
FieldFill
.
INSERT
)
@TableField
(
value
=
"
create_user
"
,
fill
=
FieldFill
.
INSERT
)
private
Long
createUser
;
/**
* 修改时间
*/
@TableField
(
value
=
"
UPDATE_TIME
"
,
fill
=
FieldFill
.
UPDATE
)
@TableField
(
value
=
"
update_time
"
,
fill
=
FieldFill
.
UPDATE
)
private
Date
updateTime
;
/**
* 修改人
*/
@TableField
(
value
=
"
UPDATE_USER
"
,
fill
=
FieldFill
.
UPDATE
)
@TableField
(
value
=
"
update_user
"
,
fill
=
FieldFill
.
UPDATE
)
private
Long
updateUser
;
...
...
src/main/java/cn/stylefeng/guns/modular/system/entity/OperationLog.java
View file @
54c70573
...
...
@@ -21,47 +21,47 @@ public class OperationLog implements Serializable {
/**
* 主键
*/
@TableId
(
value
=
"
OPERATION_LOG_ID
"
,
type
=
IdType
.
ID_WORKER
)
@TableId
(
value
=
"
operation_log_id
"
,
type
=
IdType
.
ID_WORKER
)
private
Long
operationLogId
;
/**
* 日志类型(字典)
*/
@TableField
(
"
LOG_TYPE
"
)
@TableField
(
"
log_type
"
)
private
String
logType
;
/**
* 日志名称
*/
@TableField
(
"
LOG_NAME
"
)
@TableField
(
"
log_name
"
)
private
String
logName
;
/**
* 用户id
*/
@TableField
(
"
USER_ID
"
)
@TableField
(
"
user_id
"
)
private
Long
userId
;
/**
* 类名称
*/
@TableField
(
"
CLASS_NAME
"
)
@TableField
(
"
class_name
"
)
private
String
className
;
/**
* 方法名称
*/
@TableField
(
"
METHOD
"
)
@TableField
(
"
method
"
)
private
String
method
;
/**
* 创建时间
*/
@TableField
(
value
=
"
CREATE_TIME
"
,
fill
=
FieldFill
.
INSERT
)
@TableField
(
value
=
"
create_time
"
,
fill
=
FieldFill
.
INSERT
)
private
Date
createTime
;
/**
* 是否成功(字典)
*/
@TableField
(
"
SUCCEED
"
)
@TableField
(
"
succeed
"
)
private
String
succeed
;
/**
* 备注
*/
@TableField
(
"
MESSAGE
"
)
@TableField
(
"
message
"
)
private
String
message
;
...
...
src/main/java/cn/stylefeng/guns/modular/system/entity/Relation.java
View file @
54c70573
...
...
@@ -24,17 +24,17 @@ public class Relation implements Serializable {
/**
* 主键
*/
@TableId
(
value
=
"
RELATION_ID
"
,
type
=
ID_WORKER
)
@TableId
(
value
=
"
relation_id
"
,
type
=
ID_WORKER
)
private
Long
relationId
;
/**
* 菜单id
*/
@TableField
(
"
MENU_ID
"
)
@TableField
(
"
menu_id
"
)
private
Long
menuId
;
/**
* 角色id
*/
@TableField
(
"
ROLE_ID
"
)
@TableField
(
"
role_id
"
)
private
Long
roleId
;
...
...
src/main/java/cn/stylefeng/guns/modular/system/entity/Role.java
View file @
54c70573
...
...
@@ -21,52 +21,52 @@ public class Role implements Serializable {
/**
* 主键id
*/
@TableId
(
value
=
"
ROLE_ID
"
,
type
=
IdType
.
ID_WORKER
)
@TableId
(
value
=
"
role_id
"
,
type
=
IdType
.
ID_WORKER
)
private
Long
roleId
;
/**
* 父角色id
*/
@TableField
(
"
PID
"
)
@TableField
(
"
pid
"
)
private
Long
pid
;
/**
* 角色名称
*/
@TableField
(
"
NAME
"
)
@TableField
(
"
name
"
)
private
String
name
;
/**
* 提示
*/
@TableField
(
"
DESCRIPTION
"
)
@TableField
(
"
description
"
)
private
String
description
;
/**
* 序号
*/
@TableField
(
"
SORT
"
)
@TableField
(
"
sort
"
)
private
Integer
sort
;
/**
* 乐观锁
*/
@TableField
(
"
VERSION
"
)
@TableField
(
"
version
"
)
private
Integer
version
;
/**
* 创建时间
*/
@TableField
(
value
=
"
CREATE_TIME
"
,
fill
=
FieldFill
.
INSERT
)
@TableField
(
value
=
"
create_time
"
,
fill
=
FieldFill
.
INSERT
)
private
Date
createTime
;
/**
* 修改时间
*/
@TableField
(
value
=
"
UPDATE_TIME
"
,
fill
=
FieldFill
.
UPDATE
)
@TableField
(
value
=
"
update_time
"
,
fill
=
FieldFill
.
UPDATE
)
private
Date
updateTime
;
/**
* 创建用户
*/
@TableField
(
value
=
"
CREATE_USER
"
,
fill
=
FieldFill
.
INSERT
)
@TableField
(
value
=
"
create_user
"
,
fill
=
FieldFill
.
INSERT
)
private
Long
createUser
;
/**
* 修改用户
*/
@TableField
(
value
=
"
UPDATE_USER
"
,
fill
=
FieldFill
.
UPDATE
)
@TableField
(
value
=
"
update_user
"
,
fill
=
FieldFill
.
UPDATE
)
private
Long
updateUser
;
...
...
src/main/java/cn/stylefeng/guns/modular/system/entity/User.java
View file @
54c70573
...
...
@@ -23,92 +23,92 @@ public class User implements Serializable {
/**
* 主键id
*/
@TableId
(
value
=
"
USER_ID
"
,
type
=
IdType
.
ID_WORKER
)
@TableId
(
value
=
"
user_id
"
,
type
=
IdType
.
ID_WORKER
)
private
Long
userId
;
/**
* 头像
*/
@TableField
(
"
AVATAR
"
)
@TableField
(
"
avatar
"
)
private
String
avatar
;
/**
* 账号
*/
@TableField
(
"
ACCOUNT
"
)
@TableField
(
"
account
"
)
private
String
account
;
/**
* 密码
*/
@TableField
(
"
PASSWORD
"
)
@TableField
(
"
password
"
)
private
String
password
;
/**
* md5密码盐
*/
@TableField
(
"
SALT
"
)
@TableField
(
"
salt
"
)
private
String
salt
;
/**
* 名字
*/
@TableField
(
"
NAME
"
)
@TableField
(
"
name
"
)
private
String
name
;
/**
* 生日
*/
@TableField
(
"
BIRTHDAY
"
)
@TableField
(
"
birthday
"
)
private
Date
birthday
;
/**
* 性别(字典)
*/
@TableField
(
"
SEX
"
)
@TableField
(
"
sex
"
)
private
String
sex
;
/**
* 电子邮件
*/
@TableField
(
"
EMAIL
"
)
@TableField
(
"
email
"
)
private
String
email
;
/**
* 电话
*/
@TableField
(
"
PHONE
"
)
@TableField
(
"
phone
"
)
private
String
phone
;
/**
* 角色id(多个逗号隔开)
*/
@TableField
(
"
ROLE_ID
"
)
@TableField
(
"
role_id
"
)
private
String
roleId
;
/**
* 部门id(多个逗号隔开)
*/
@TableField
(
"
DEPT_ID
"
)
@TableField
(
"
dept_id
"
)
private
Long
deptId
;
/**
* 状态(字典)
*/
@TableField
(
"
STATUS
"
)
@TableField
(
"
status
"
)
private
String
status
;
/**
* 创建时间
*/
@TableField
(
value
=
"
CREATE_TIME
"
,
fill
=
FieldFill
.
INSERT
)
@TableField
(
value
=
"
create_time
"
,
fill
=
FieldFill
.
INSERT
)
private
Date
createTime
;
/**
* 创建人
*/
@TableField
(
value
=
"
CREATE_USER
"
,
fill
=
FieldFill
.
INSERT
)
@TableField
(
value
=
"
create_user
"
,
fill
=
FieldFill
.
INSERT
)
private
Long
createUser
;
/**
* 更新时间
*/
@TableField
(
value
=
"
UPDATE_TIME
"
,
fill
=
FieldFill
.
UPDATE
)
@TableField
(
value
=
"
update_time
"
,
fill
=
FieldFill
.
UPDATE
)
private
Date
updateTime
;
/**
* 更新人
*/
@TableField
(
value
=
"
UPDATE_USER
"
,
fill
=
FieldFill
.
UPDATE
)
@TableField
(
value
=
"
update_user
"
,
fill
=
FieldFill
.
UPDATE
)
private
Long
updateUser
;
/**
* 乐观锁
*/
@TableField
(
"
VERSION
"
)
@TableField
(
"
version
"
)
private
Integer
version
;
}
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