| New file |
| | |
| | | package org.springblade.modules.article.entity; |
| | | |
| | | import com.baomidou.mybatisplus.annotation.*; |
| | | import com.fasterxml.jackson.annotation.JsonFormat; |
| | | import com.fasterxml.jackson.databind.annotation.JsonSerialize; |
| | | import com.fasterxml.jackson.databind.ser.std.ToStringSerializer; |
| | | import lombok.Data; |
| | | import io.swagger.annotations.ApiModel; |
| | | import io.swagger.annotations.ApiModelProperty; |
| | | |
| | | import java.io.Serializable; |
| | | import java.util.Date; |
| | | import org.springframework.format.annotation.DateTimeFormat; |
| | | |
| | | /** |
| | | * 文章浏览积分表 实体类 |
| | | * |
| | | * @author BladeX |
| | | * @since 2024-03-23 |
| | | */ |
| | | @Data |
| | | @TableName("jczz_article_integral") |
| | | @ApiModel(value = "ArticleIntegral对象", description = "文章浏览积分表") |
| | | public class ArticleIntegralEntity implements Serializable { |
| | | |
| | | private static final long serialVersionUID = 1L; |
| | | |
| | | /** |
| | | * 主键 |
| | | */ |
| | | @JsonSerialize(using = ToStringSerializer.class) |
| | | @ApiModelProperty("主键id") |
| | | @TableId(value = "id", type = IdType.ASSIGN_ID) |
| | | private Long id; |
| | | |
| | | /** |
| | | * 文章id |
| | | */ |
| | | @ApiModelProperty(value = "文章id") |
| | | private Long articleId; |
| | | /** |
| | | * 得分 |
| | | */ |
| | | @ApiModelProperty(value = "得分") |
| | | private Integer score; |
| | | |
| | | /** |
| | | * 地址编号 |
| | | */ |
| | | @ApiModelProperty(value = "地址编号") |
| | | private String houseCode; |
| | | /** |
| | | * 创建人(浏览人用户id) |
| | | */ |
| | | @ApiModelProperty(value = "创建人(浏览人用户id)") |
| | | @TableField(fill = FieldFill.INSERT) |
| | | private Long createUser; |
| | | |
| | | /** |
| | | * 创建时间 |
| | | */ |
| | | @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss") |
| | | @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss") |
| | | @ApiModelProperty("创建时间") |
| | | @TableField(fill = FieldFill.INSERT) |
| | | private Date createTime; |
| | | |
| | | |
| | | /** |
| | | * 是否删除 0:否 1:是 |
| | | */ |
| | | @ApiModelProperty(value = "是否删除 0:否 1:是", example = "") |
| | | @TableField("is_deleted") |
| | | @TableLogic |
| | | private Integer isDeleted; |
| | | |
| | | } |