Commit 04dee544 authored by AfirSraftGarrier's avatar AfirSraftGarrier

用户表增加字段

parent 11ef370f
...@@ -21,4 +21,9 @@ ALTER TABLE `device` ...@@ -21,4 +21,9 @@ ALTER TABLE `device`
ADD COLUMN `status` int(1) NULL DEFAULT NULL COMMENT '状态 0:未使用,1:已使用,2:失效' AFTER `app_id`; ADD COLUMN `status` int(1) NULL DEFAULT NULL COMMENT '状态 0:未使用,1:已使用,2:失效' AFTER `app_id`;
ALTER TABLE `device` ALTER TABLE `device`
ADD COLUMN `sn_bind` varchar(30) NULL DEFAULT NULL COMMENT '绑定的SN' AFTER `status`; ADD COLUMN `sn_bind` varchar(30) NULL DEFAULT NULL COMMENT '绑定的SN' AFTER `status`;
\ No newline at end of file
# -------------------- 2023年开始修改 --------------------
ALTER TABLE `user`
ADD COLUMN `notify` varchar(50) NULL DEFAULT NULL COMMENT '报警的邮箱,注册的时候用户名是邮箱则这里自动填那个邮箱,可以修改' AFTER `company`;
\ No newline at end of file
...@@ -13,7 +13,7 @@ import java.util.Date; ...@@ -13,7 +13,7 @@ import java.util.Date;
/** /**
* <p> * <p>
* *
* </p> * </p>
* *
* @author m33 * @author m33
...@@ -40,6 +40,9 @@ public class User implements Serializable { ...@@ -40,6 +40,9 @@ public class User implements Serializable {
@ApiModelProperty("公司") @ApiModelProperty("公司")
private String company; private String company;
@ApiModelProperty("报警的邮箱,注册的时候用户名是邮箱则这里自动填那个邮箱,可以修改")
private String notify;
@ApiModelProperty("创建时间") @ApiModelProperty("创建时间")
private Date createTime; private Date createTime;
......
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