From 6c82b0f944a0d3547659db5ec1f640a9ec7d3fd3 Mon Sep 17 00:00:00 2001 From: xiaoyong931011 <15274802129@163.com> Date: Wed, 15 Jun 2022 11:08:52 +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..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