package com.pcloud.book.applet.entity;

import com.pcloud.common.entity.BaseEntity;

import java.util.List;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
public class AppletThirdResources extends BaseEntity {

    @ApiModelProperty("第三方资源编号")
    private String number;

    @ApiModelProperty("类型   0：小程序， 1：链接")
    private Long type;

    @ApiModelProperty("第三方资源名称")
    private String name;

    @ApiModelProperty("小程序id")
    private String appletsId;

    @ApiModelProperty("来源")
    private String source;

    @ApiModelProperty("宣传图片")
    private String resourceImgUrl;

    @ApiModelProperty("链接")
    private String url;

    @ApiModelProperty("小程序跳转链接")
    private String appletsUrl;

    @ApiModelProperty("备注")
    private String remark;

    @ApiModelProperty("创建人")
    private Long creator;

    @ApiModelProperty("修改人")
    private Long updator;

    @ApiModelProperty("第三方资源路径 默认0：客服窗口  1：公众号文章素材")
    private Integer routeCode;

    @ApiModelProperty("引导语，限制30字符")
    private String guide;

    @ApiModelProperty("素材地址")
    private String materialUrl;

    @ApiModelProperty("顶图")
    private String topImgUrl;

    @ApiModelProperty("浮动图")
    private String floatImgUrl;

    @ApiModelProperty("按钮图")
    private String buttonImgUrl;

    @ApiModelProperty("位置 1 顶部 2 底部")
    private Integer showType;

    @ApiModelProperty("推送图片")
    private List<String> picUrlList;
}