Complete the corrections of the errors in the last submission.Create the backend code structure
Please enter the commit message for your changes. Lines starting
Change-Id: I3f0c3764560b14466236e66627f34d8b71b05cd8
diff --git a/src/main/java/com/g9/g9backend/pojo/User.java b/src/main/java/com/g9/g9backend/pojo/User.java
new file mode 100644
index 0000000..2915460
--- /dev/null
+++ b/src/main/java/com/g9/g9backend/pojo/User.java
@@ -0,0 +1,36 @@
+package com.g9.g9backend.pojo;
+
+import com.baomidou.mybatisplus.annotation.TableId;
+import lombok.*;
+
+/**
+ * User 实体类,表示用户的数据模型
+ *
+ * @author hcy
+ */
+@Data
+@AllArgsConstructor
+@NoArgsConstructor
+public class User {
+
+ @TableId
+ private int userId;
+
+ private String username;
+
+ private String password;
+
+ private String avatar;
+
+ private int followerCount;
+
+ private int subscriberCount;
+
+ private String signature;
+
+ private int uploadAmount;
+
+ private int purchaseAmount;
+
+ private int credits;
+}