CsdnTripletDayInfo.java 1.1 KB
Newer Older
1 2 3 4 5
package com.kwan.springbootkwan.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.fasterxml.jackson.annotation.JsonFormat;
6 7
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
8 9 10 11 12
import lombok.Data;

import java.util.Date;

@Data
13
@ApiModel("csdn每日三连监控类")
14 15
@TableName("csdn_triplet_day_info")
public class CsdnTripletDayInfo extends Model<CsdnTripletDayInfo> {
16
    @ApiModelProperty("主键id")
17
    private Integer id;
18
    @ApiModelProperty("三连日期")
19 20
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date tripletDate;
21
    @ApiModelProperty("点赞数量")
22
    private Integer likeNum;
23
    @ApiModelProperty("收藏数量")
24
    private Integer collectNum;
25
    @ApiModelProperty("评论数量")
26
    private Integer commentNum;
27
    @ApiModelProperty("创建时间")
28
    private Date createTime;
29
    @ApiModelProperty("更新时间")
30
    private Date updateTime;
31
    @ApiModelProperty("逻辑删除,0未删除,1已删除")
32 33
    private Integer isDelete;
}