| | |
| | | import com.baomidou.mybatisplus.annotation.TableName; |
| | | import com.fasterxml.jackson.annotation.JsonFormat; |
| | | import lombok.Data; |
| | | |
| | | import org.springframework.format.annotation.DateTimeFormat; |
| | | import javax.validation.constraints.NotNull; |
| | | import java.io.Serializable; |
| | | import java.time.LocalDateTime; |
| | | import java.util.Date; |
| | | |
| | | /** |
| | | * @author zhongrj |
| | |
| | | */ |
| | | @TableField("create_time") |
| | | @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8") |
| | | private LocalDateTime createTime; |
| | | @DateTimeFormat( pattern = "yyyy-MM-dd HH:mm:ss") |
| | | private Date createTime; |
| | | |
| | | /** |
| | | * 更新时间 |
| | | */ |
| | | @TableField("update_time") |
| | | private LocalDateTime updateTime; |
| | | @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8") |
| | | @DateTimeFormat( pattern = "yyyy-MM-dd HH:mm:ss") |
| | | private Date updateTime; |
| | | |
| | | /** |
| | | * 发布来源id |
| | |
| | | */ |
| | | @TableField("source_name") |
| | | private String sourceName; |
| | | |
| | | /** |
| | | * 资讯类型,对应业务字典数据 articleType |
| | | */ |
| | | @TableField("article_type") |
| | | private String articleType; |
| | | |
| | | /** |
| | | * 是否推荐 1:推荐 2:不推荐 |
| | | */ |
| | | private Integer recommend; |
| | | } |