mirror of https://gitee.com/stylefeng/roses
【8.0.5】【notice】更新创建人的显示
parent
84ed045a8b
commit
f468cf359f
|
@ -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.db.api.pojo.entity.BaseBusinessEntity;
|
||||||
import cn.stylefeng.roses.kernel.rule.annotation.ChineseDescription;
|
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 cn.stylefeng.roses.kernel.sys.modular.notice.pojo.NoticeUserScope;
|
||||||
import com.baomidou.mybatisplus.annotation.*;
|
import com.baomidou.mybatisplus.annotation.*;
|
||||||
import com.baomidou.mybatisplus.extension.handlers.JacksonTypeHandler;
|
import com.baomidou.mybatisplus.extension.handlers.JacksonTypeHandler;
|
||||||
|
@ -99,4 +101,11 @@ public class SysNotice extends BaseBusinessEntity {
|
||||||
@ChineseDescription("租户号")
|
@ChineseDescription("租户号")
|
||||||
private Long tenantId;
|
private Long tenantId;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 创建人
|
||||||
|
*/
|
||||||
|
@TableField(value = "create_user", fill = FieldFill.INSERT)
|
||||||
|
@SimpleFieldFormat(processClass = UserNameFormatProcess.class)
|
||||||
|
private Long createUser;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue