Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
I
ioc_sixiang_license
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
zengtianlai3
ioc_sixiang_license
Commits
04dee544
Commit
04dee544
authored
Jan 30, 2023
by
AfirSraftGarrier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
用户表增加字段
parent
11ef370f
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
2 deletions
+10
-2
update.sql
license/doc/update.sql
+6
-1
User.java
license/src/main/java/iot/sixiang/license/entity/User.java
+4
-1
No files found.
license/doc/update.sql
View file @
04dee544
...
...
@@ -21,4 +21,9 @@ ALTER TABLE `device`
ADD
COLUMN
`status`
int
(
1
)
NULL
DEFAULT
NULL
COMMENT
'状态 0:未使用,1:已使用,2:失效'
AFTER
`app_id`
;
ALTER
TABLE
`device`
ADD
COLUMN
`sn_bind`
varchar
(
30
)
NULL
DEFAULT
NULL
COMMENT
'绑定的SN'
AFTER
`status`
;
\ No newline at end of file
ADD
COLUMN
`sn_bind`
varchar
(
30
)
NULL
DEFAULT
NULL
COMMENT
'绑定的SN'
AFTER
`status`
;
#
-------------------- 2023年开始修改 --------------------
ALTER
TABLE
`user`
ADD
COLUMN
`notify`
varchar
(
50
)
NULL
DEFAULT
NULL
COMMENT
'报警的邮箱,注册的时候用户名是邮箱则这里自动填那个邮箱,可以修改'
AFTER
`company`
;
\ No newline at end of file
license/src/main/java/iot/sixiang/license/entity/User.java
View file @
04dee544
...
...
@@ -13,7 +13,7 @@ import java.util.Date;
/**
* <p>
*
*
* </p>
*
* @author m33
...
...
@@ -40,6 +40,9 @@ public class User implements Serializable {
@ApiModelProperty
(
"公司"
)
private
String
company
;
@ApiModelProperty
(
"报警的邮箱,注册的时候用户名是邮箱则这里自动填那个邮箱,可以修改"
)
private
String
notify
;
@ApiModelProperty
(
"创建时间"
)
private
Date
createTime
;
...
...
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