From 121b0c399ab5fadd9cb3a46509d68fe1ba476c95 Mon Sep 17 00:00:00 2001 From: Helius <wangdoubleone@gmail.com> Date: Tue, 05 Jul 2022 09:59:41 +0800 Subject: [PATCH] fid:导航对接数据库解析 --- 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