From 49dbcdadd860b7613063ee618fbe38a0593d5bd9 Mon Sep 17 00:00:00 2001
From: Helius <wangdoubleone@gmail.com>
Date: Mon, 11 Jul 2022 15:45:29 +0800
Subject: [PATCH] fix
---
src/main/java/com/xcong/farmer/cms/modules/system/entity/WebSetEntity.java | 6 ++++++
1 files changed, 6 insertions(+), 0 deletions(-)
diff --git a/src/main/java/com/xcong/farmer/cms/modules/system/entity/WebSetEntity.java b/src/main/java/com/xcong/farmer/cms/modules/system/entity/WebSetEntity.java
index 0212604..451d831 100644
--- a/src/main/java/com/xcong/farmer/cms/modules/system/entity/WebSetEntity.java
+++ b/src/main/java/com/xcong/farmer/cms/modules/system/entity/WebSetEntity.java
@@ -1,5 +1,7 @@
package com.xcong.farmer.cms.modules.system.entity;
+import com.baomidou.mybatisplus.annotation.IdType;
+import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
@@ -10,6 +12,8 @@
@TableName("t_web_set")
public class WebSetEntity {
//ID
+
+ @TableId(value = "id",type = IdType.AUTO)
private Long id;
//网页标题
private String webTitle;
@@ -19,4 +23,6 @@
private String webRemark;
//网页LOGO
private String webPic;
+ //所属ID
+ private Long companyId;
}
--
Gitblit v1.9.1