From f6a912c1a6a26c809568f964941fb4ad4483274e Mon Sep 17 00:00:00 2001
From: Helius <wangdoubleone@gmail.com>
Date: Mon, 31 May 2021 11:19:40 +0800
Subject: [PATCH] modify
---
src/main/java/com/xcong/excoin/modules/documentary/entity/FollowTraderLabelEntity.java | 8 +++++---
1 files changed, 5 insertions(+), 3 deletions(-)
diff --git a/src/main/java/com/xcong/excoin/modules/documentary/entity/FollowTraderLabelEntity.java b/src/main/java/com/xcong/excoin/modules/documentary/entity/FollowTraderLabelEntity.java
index d492bc5..baacee7 100644
--- a/src/main/java/com/xcong/excoin/modules/documentary/entity/FollowTraderLabelEntity.java
+++ b/src/main/java/com/xcong/excoin/modules/documentary/entity/FollowTraderLabelEntity.java
@@ -1,21 +1,23 @@
package com.xcong.excoin.modules.documentary.entity;
+import com.baomidou.mybatisplus.annotation.IdType;
+import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.xcong.excoin.common.system.base.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
-@EqualsAndHashCode(callSuper = true)
@Data
@TableName("follow_trader_label")
-public class FollowTraderLabelEntity extends BaseEntity{
+public class FollowTraderLabelEntity{
/**
*
*/
private static final long serialVersionUID = 1L;
-
+ @TableId(value = "id",type = IdType.AUTO)
+ private Long id;
/**
* 标签
*/
--
Gitblit v1.9.1