CsdnUserInfo.java 1.2 KB
Newer Older
1 2
package com.kwan.springbootkwan.entity;

3
import com.baomidou.mybatisplus.annotation.TableName;
4
import com.baomidou.mybatisplus.extension.activerecord.Model;
5 6
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
7
import lombok.Data;
8

9
import java.io.Serializable;
10 11
import java.util.Date;

12
@Data
13
@ApiModel("csdn用户类")
14
@TableName("csdn_user_info")
15 16
public class CsdnUserInfo extends Model<CsdnUserInfo> implements Serializable {
    @ApiModelProperty("主键id")
17
    private Integer id;
18
    @ApiModelProperty("用户code")
19
    private String userName;
20
    @ApiModelProperty("CSDN用户名称")
21
    private String nickName;
22
    @ApiModelProperty("点赞状态")
23
    private Integer likeStatus;
24
    @ApiModelProperty("收藏状态")
25
    private Integer collectStatus;
26
    @ApiModelProperty("评论状态")
27
    private Integer commentStatus;
28
    @ApiModelProperty("用户权重")
29
    private Integer userWeight;
30
    @ApiModelProperty("文章类型")
31
    private String articleType;
32
    @ApiModelProperty("创建时间")
33
    private Date createTime;
34
    @ApiModelProperty("更新时间")
35
    private Date updateTime;
36
    @ApiModelProperty("逻辑删除,0未删除,1已删除")
37
    private Integer isDelete;
38
}