From 56eded01813a06ea1048b42919af021900e5f813 Mon Sep 17 00:00:00 2001 From: xiaoyong931011 <15274802129@163.com> Date: Mon, 13 Jun 2022 15:58:30 +0800 Subject: [PATCH] 20220606 --- 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..24d6a2c 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 belongId; } -- Gitblit v1.9.1