From f468cf359f83fdbe57ef8bcf09a7cac9b51071ac Mon Sep 17 00:00:00 2001 From: fengshuonan Date: Fri, 12 Jan 2024 17:11:13 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=908.0.5=E3=80=91=E3=80=90notice=E3=80=91?= =?UTF-8?q?=E6=9B=B4=E6=96=B0=E5=88=9B=E5=BB=BA=E4=BA=BA=E7=9A=84=E6=98=BE?= =?UTF-8?q?=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../kernel/sys/modular/notice/entity/SysNotice.java | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/kernel-s-system/system-business-portal/src/main/java/cn/stylefeng/roses/kernel/sys/modular/notice/entity/SysNotice.java b/kernel-s-system/system-business-portal/src/main/java/cn/stylefeng/roses/kernel/sys/modular/notice/entity/SysNotice.java index 3b8e5d741..3dffb4912 100644 --- a/kernel-s-system/system-business-portal/src/main/java/cn/stylefeng/roses/kernel/sys/modular/notice/entity/SysNotice.java +++ b/kernel-s-system/system-business-portal/src/main/java/cn/stylefeng/roses/kernel/sys/modular/notice/entity/SysNotice.java @@ -2,6 +2,8 @@ package cn.stylefeng.roses.kernel.sys.modular.notice.entity; import cn.stylefeng.roses.kernel.db.api.pojo.entity.BaseBusinessEntity; import cn.stylefeng.roses.kernel.rule.annotation.ChineseDescription; +import cn.stylefeng.roses.kernel.rule.annotation.SimpleFieldFormat; +import cn.stylefeng.roses.kernel.sys.api.format.UserNameFormatProcess; import cn.stylefeng.roses.kernel.sys.modular.notice.pojo.NoticeUserScope; import com.baomidou.mybatisplus.annotation.*; import com.baomidou.mybatisplus.extension.handlers.JacksonTypeHandler; @@ -99,4 +101,11 @@ public class SysNotice extends BaseBusinessEntity { @ChineseDescription("租户号") private Long tenantId; + /** + * 创建人 + */ + @TableField(value = "create_user", fill = FieldFill.INSERT) + @SimpleFieldFormat(processClass = UserNameFormatProcess.class) + private Long createUser; + }