From 9486766c806fe1d9e082b2fd02ea1cc558f1b443 Mon Sep 17 00:00:00 2001 From: 无关风月 <443237572@qq.com> Date: 星期四, 08 五月 2025 09:21:57 +0800 Subject: [PATCH] bug修改 --- cloud-server-other/src/main/java/com/dsh/other/entity/TGame.java | 10 +++++++++- 1 files changed, 9 insertions(+), 1 deletions(-) diff --git a/cloud-server-other/src/main/java/com/dsh/other/entity/TGame.java b/cloud-server-other/src/main/java/com/dsh/other/entity/TGame.java index 4e9e77d..c65e1d6 100644 --- a/cloud-server-other/src/main/java/com/dsh/other/entity/TGame.java +++ b/cloud-server-other/src/main/java/com/dsh/other/entity/TGame.java @@ -5,7 +5,9 @@ import com.baomidou.mybatisplus.extension.activerecord.Model; import com.baomidou.mybatisplus.annotation.TableId; import com.baomidou.mybatisplus.annotation.TableField; + import java.io.Serializable; + import lombok.Data; import lombok.EqualsAndHashCode; import lombok.experimental.Accessors; @@ -24,7 +26,7 @@ @TableName("t_game") public class TGame extends Model<TGame> { - private static final long serialVersionUID=1L; + private static final long serialVersionUID = 1L; @TableId(value = "id", type = IdType.AUTO) private Integer id; @@ -78,6 +80,12 @@ * 红方id */ private String red; + @TableField(exist=false) + private String blueName; + @TableField(exist=false) + private String redName; + + private Integer state; @Override -- Gitblit v1.7.1