package com.pcloud.book.applet.entity;

import com.pcloud.book.rightsSetting.entity.BaseTempletClassify;
import com.pcloud.common.entity.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

@Data
@ApiModel("小程序资讯")
public class AppletNews extends BaseTempletClassify {

    @ApiModelProperty("资讯")
    private String newsName;
    @ApiModelProperty("来源")
    private String source;
    @ApiModelProperty("栏目id")
    private Long newsClassifyId;
    @ApiModelProperty("专业标签ID")
    private Long proLabelId;
    @ApiModelProperty("深度标签ID")
    private Long depLabelId;
    @ApiModelProperty("目的标签ID")
    private Long purLabelId;
    @ApiModelProperty("文章版式（1多图文2单图文3纯图片4纯文本)")
    private Integer type;
    @ApiModelProperty("内容摘要")
    private String digest;
    @ApiModelProperty("预览图片1")
    private String pic1;
    @ApiModelProperty("预览图片2")
    private String pic2;
    @ApiModelProperty("预览图片3")
    private String pic3;
    @ApiModelProperty("文章内容")
    private String content;
    @ApiModelProperty("是否展示")
    private Boolean showState;
    @ApiModelProperty("第一级类型标识")
    private Long firstClassify;
    @ApiModelProperty("第二级类型标识")
    private Long secondClassify;
    @ApiModelProperty("年级标签id")
    private Long gradeLabelId;
    @ApiModelProperty("科目标签id")
    private Long subjectLabelId;
    @ApiModelProperty("权益分类id")
    private Long rightsClassifyId;
    @ApiModelProperty("跳转类型（1原文编辑2直接跳转）")
    private Integer jumpType;
    @ApiModelProperty("跳转地址")
    private String jumpUrl;
    @ApiModelProperty("跳转外链编号")
    private String urlNumber;
    @ApiModelProperty("自定义标识id")
    private Long customTagId;
    @ApiModelProperty("展示来源")
    private Integer showSource;
    @ApiModelProperty("展示第三方资源")
    private Integer showLink;

    @ApiModelProperty("选取的服务")
    List<AppletNewsServe> appletNewsServeList;
}
