| | |
| | | package vip.xiaonuo.modular.blogarticle.entity; |
| | | |
| | | import cn.afterturn.easypoi.excel.annotation.Excel; |
| | | import com.baomidou.mybatisplus.annotation.IdType; |
| | | import com.baomidou.mybatisplus.annotation.TableId; |
| | | import com.baomidou.mybatisplus.annotation.TableName; |
| | | import com.baomidou.mybatisplus.annotation.*; |
| | | import lombok.Data; |
| | | |
| | | import java.util.Date; |
| | |
| | | @Excel(name = "编辑状态 0:草稿 1:发布") |
| | | private Integer editorStatus; |
| | | |
| | | @Excel(name = "是否允许评论 0:否 1:是") |
| | | private Integer isAllowedComment; |
| | | |
| | | |
| | | /** |
| | | * 归档年份(以初次发布时间为准) |
| | | */ |
| | |
| | | * 更新时间 |
| | | */ |
| | | @Excel(name = "更新时间", databaseFormat = "yyyy-MM-dd HH:mm:ss", format = "yyyy-MM-dd", width = 20) |
| | | @TableField(fill = FieldFill.INSERT_UPDATE) |
| | | private Date updateDate; |
| | | |
| | | /** |
| | | * 创建时间 |
| | | */ |
| | | @Excel(name = "创建时间", databaseFormat = "yyyy-MM-dd HH:mm:ss", format = "yyyy-MM-dd", width = 20) |
| | | @TableField(fill = FieldFill.INSERT) |
| | | private Date createDate; |
| | | |
| | | } |