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