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;

import java.util.List;

/**
 * 公众号文章详情对象 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;

    @ApiModelProperty(value = "类型 01.富文本 02.pdf")
    private String type;

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

    @TableField(exist = false)
    private List<Long> publicIds;

    @TableField(exist = false)
    private String publicName;

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

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

    @ApiModelProperty(value = "转发人数")
    private Long transmitCount;

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

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

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

    @ApiModelProperty(value = "所在地")
    private String address;

    @ApiModelProperty(value = "作者花名")
    private String authorAlias;

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

    @ApiModelProperty(value = "头图")
    private String headUrl;

    @ApiModelProperty(value = "精选文章 01.普通 02.精选")
    private String topStatus;

    @TableField(exist = false)
    private String pdfUrl;

    @ApiModelProperty(value = "文章标签")
    private String detailTag;

    @ApiModelProperty(value = "剧集1")
    private Integer itemOne;

    @ApiModelProperty(value = "剧集2")
    private Integer itemTwo;

    @ApiModelProperty(value = "剧集3")
    private Integer itemThree;

    @ApiModelProperty(value = "剧集4")
    private Integer itemFour;

    @ApiModelProperty(value = "剧集5")
    private Integer itemFive;

    @ApiModelProperty(value = "剧集6")
    private Integer itemSix;

    @ApiModelProperty(value = "剧集7")
    private Integer itemSeven;

    @ApiModelProperty(value = "剧集8")
    private Integer itemEight;

    @ApiModelProperty(value = "剧集9")
    private Integer itemNine;

    @ApiModelProperty(value = "剧集10")
    private Integer itemTen;

    @TableField(exist = false)
    private String itemOneUrl;
    @TableField(exist = false)
    private String itemTwoUrl;
    @TableField(exist = false)
    private String itemThreeUrl;
    @TableField(exist = false)
    private String itemFourUrl;
    @TableField(exist = false)
    private String itemFiveUrl;
    @TableField(exist = false)
    private String itemSixUrl;
    @TableField(exist = false)
    private String itemSevenUrl;
    @TableField(exist = false)
    private String itemEightUrl;
    @TableField(exist = false)
    private String itemNineUrl;
    @TableField(exist = false)
    private String itemTenUrl;



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

}
