From ef299388e071ce75de6623009f21e425b5a3b017 Mon Sep 17 00:00:00 2001
From: zj <1772600164@qq.com>
Date: Mon, 29 Jul 2024 17:46:29 +0800
Subject: [PATCH] 1
---
websocketSerivce/src/main/java/org/example/pojo/User.java | 6 +++++-
1 files changed, 5 insertions(+), 1 deletions(-)
diff --git a/websocketSerivce/src/main/java/org/example/pojo/User.java b/websocketSerivce/src/main/java/org/example/pojo/User.java
index a6c3cc9..f2f1f4f 100644
--- a/websocketSerivce/src/main/java/org/example/pojo/User.java
+++ b/websocketSerivce/src/main/java/org/example/pojo/User.java
@@ -1,7 +1,10 @@
package org.example.pojo;
+import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.IdType;
+import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
+import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import java.sql.Date;
@@ -14,10 +17,11 @@
@Data
public class User {
- @TableId(type = IdType.AUTO)
+
/**
* id
*/
+ @TableId(type = IdType.AUTO)
private Integer id;
/**
--
Gitblit v1.9.3