package com.playlet.system.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.playlet.common.core.domain.BaseEntity;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import com.playlet.common.annotation.Excel;

/**
 * 公众号文章详情对象 playlet_public_detail
 *
 * @author ruoyi
 * @date 2024-04-07
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName(value = "playlet_public_detail")
@ApiModel(value = "文章详情")
public class PlayletPublicDetail extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    @ApiModelProperty(value = "主键id")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /** 公众号id */
    @Excel(name = "公众号id")
    @ApiModelProperty(value = "公众号id")
    private Long publicId;

    /** 阅读人数 */
    @Excel(name = "阅读人数")
    @ApiModelProperty(value = "阅读人数")
    private Long readCount;

    /** 详情(富文本) */
    @Excel(name = "详情(富文本)")
    @ApiModelProperty(value = "详情(富文本)")
    private String content;

    @ApiModelProperty(value = "标题")
    private String title;

    @ApiModelProperty(value = "图片")
    private String imgUrl;

    @ApiModelProperty(value = "点赞数")
    private String starCount;

    @TableField(exist = false)
    @ApiModelProperty(value = "归属公众号信息")
    private PlayletPublicAccount playletPublicAccount;

}
