From 33cd99e2509c88ce838ec2c68f2d36de80e27a6c Mon Sep 17 00:00:00 2001 From: xiaoyong931011 <15274802129@163.com> Date: Tue, 07 Jun 2022 10:15:17 +0800 Subject: [PATCH] 20220606 --- src/main/java/com/xcong/farmer/cms/modules/system/entity/WebSetEntity.java | 4 ++++ 1 files changed, 4 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..85f0774 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; -- Gitblit v1.9.1