yanghb
2024-12-17 1287337fd0b0c156ec79712f9a600ebeffefe3a6
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
package com.zzg.common.core.domain.entity.state;
 
import com.baomidou.mybatisplus.annotation.*;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.zzg.common.core.domain.BaseEntity;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;
 
import java.sql.Timestamp;
import java.util.Date;
 
@Data
@TableName("state_project_notice")
public class StateProjectNotice extends BaseEntity {
 
    @TableId(type = IdType.ASSIGN_UUID)
    private String id;
 
    @TableField(value = "del_flag")
    @TableLogic(value = "0", delval = "1")
    private Integer delFlag = 0;
 
    @TableField(value = "project_id")
    private String projectId;
 
    @TableField(value = "notice_no")
    private String noticeNo;
 
    @TableField(value = "notice_name")
    private String noticeName;
 
    @TableField(value = "publishing_department")
    private String publishingDepartment;
 
    @TableField(value = "start_time")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date startTime;
 
    @TableField(value = "end_time")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date endTime;
 
    @TableField(value = "notice_web")
    private String noticeWeb;
 
    @TableField(value = "notice_content")
    private String noticeContent;
    @TableField(value = "file_url", updateStrategy = FieldStrategy.IGNORED)
    private String fileUrl;
    @TableField(value = "img_url", updateStrategy = FieldStrategy.IGNORED)
    private String imgUrl;
    //1 正常公告 2转征收的公告
    private Integer type;
}