package com.huaheng.pc.system.notice.domain; import com.baomidou.mybatisplus.annotation.*; import com.fasterxml.jackson.annotation.JsonFormat; import com.google.common.collect.Maps; import lombok.Data; import java.util.Date; import java.util.Map; /** * 公告表 sys_notice * * @author huaheng */ @Data @TableName(value = "sys_notice") public class Notice { /** 公告ID */ @TableId(value = "id",type = IdType.ID_WORKER) private Integer id; /** 公告标题 */ @TableField(value = "noticeTitle") private String noticeTitle; /** 公告类型(1通知 2公告) */ @TableField(value = "noticeType") private String noticeType; /** 公告内容 */ @TableField(value = "noticeContent") private String noticeContent; /** 公告状态(0正常 1关闭) */ @TableField(value = "status") private String status; /** 搜索值 */ @TableField(value = "searchValue") private String searchValue; /** 创建者 */ @TableField(value = "createBy") private String createBy; /** 创建时间 */ @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss") @TableField(value = "createTime") private Date createTime; /** 更新者 */ @TableField(value = "updateBy") private String updateBy; /** 更新时间 */ @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss") @TableField(value = "updateTime") private Date updateTime; /** 备注 */ // @TableField(exist=false) @TableField(value = "remark") private String remark; /** 请求参数 */ private Map<String, Object> params; }