【8.0.5】【notice】更新创建人的显示

pull/60/head
fengshuonan 2024-01-12 17:11:13 +08:00
parent 84ed045a8b
commit f468cf359f
1 changed files with 9 additions and 0 deletions

View File

@ -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;
}