Notice.java
1.56 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
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;
}