From 0a9748a2080fb89135474d06cd8c0db6a1d5c5b5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=8E=8B=E5=A3=95?= <1798488403@qq.com> Date: Mon, 3 Oct 2022 19:48:28 +0800 Subject: [PATCH] =?UTF-8?q?=E4=B8=BAUser=E7=B1=BB=E6=B7=BB=E5=8A=A0?= =?UTF-8?q?=E5=AD=A6=E5=8F=B7,=E6=9D=83=E9=99=90=EF=BC=8C=E5=A7=93?= =?UTF-8?q?=E5=90=8D=E5=B1=9E=E6=80=A7=EF=BC=8C=E6=96=B9=E4=BE=BF=E7=94=A8?= =?UTF-8?q?=E6=88=B7=E7=BB=91=E5=AE=9A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/com/example/demo/domain/User.java | 22 +++++++++++++++---- 1 file changed, 18 insertions(+), 4 deletions(-) diff --git a/src/demo/src/main/java/com/example/demo/domain/User.java b/src/demo/src/main/java/com/example/demo/domain/User.java index 038b8f8..c291a0e 100644 --- a/src/demo/src/main/java/com/example/demo/domain/User.java +++ b/src/demo/src/main/java/com/example/demo/domain/User.java @@ -10,9 +10,9 @@ import org.springframework.format.annotation.DateTimeFormat; import java.util.Date; /** - * @author lastwhisper - * @desc - * @email gaojun56@163.com + * + * + * */ @Data @TableName("user") @@ -74,6 +74,20 @@ public class User { */ @TableField("nick_name") private String nickName; - + /** + * 姓名 + */ + @TableField("name") + private String name; + /** + * 学号 + */ + @TableField("Student_Number") + private String Student_Number; + /** + * 权限 + */ + @TableField("power") + private int power; }