package com.pcloud.book.group.dto;

import com.pcloud.common.dto.BaseDto;
import com.pcloud.common.entity.BaseEntity;

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

/**
 * @Description
 * @Author zhuyajie
 * @Date 2020/4/14 17:05
 **/
@Data
public class BookServeDTO extends BaseDto {
    private static final long serialVersionUID = 7725930392678110441L;

    @ApiModelProperty("作品或应用id")
    private Long serveId;

    @ApiModelProperty("类型；APP应用，PRODUCT作品")
    private String serveType;

    @ApiModelProperty("应用或作品名称")
    private String serveName;

    @ApiModelProperty("类型")
    private String fromType;

    @ApiModelProperty("类型名称")
    private String fromTypeName;

    @ApiModelProperty("图片地址")
    private String coverImg;

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

    @ApiModelProperty("类型；APP应用，PRODUCT作品")
    private String typeCode;

    private Double price;

    private Integer isCollect;

    @ApiModelProperty("是否有第三方链接")
    private Boolean hasThirdLink;

    @ApiModelProperty("应用/资讯/作品图片-大图")
    private String transverseImg;

    @ApiModelProperty("跳转结果链接")
    private String resultUrl;
}
