package com.pcloud.book.group.entity;

import com.pcloud.common.entity.BaseEntity;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @Description
 * @Author ruansiyuan
 * @Date 2019/9/23 15:35
 **/
@Data
public class BookGroupServe extends BaseEntity {
    private static final long serialVersionUID = 7725930392678110441L;

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

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

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

    @ApiModelProperty("短链")
    private String shortUrl;

    @ApiModelProperty("社群书id")
    private Long bookGroupId;

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

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

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

    @ApiModelProperty("是否超级作者")
    private Boolean isSuper;

    @ApiModelProperty("销售价")
    private Double retailPrice;

    @ApiModelProperty("协议价")
    private Double dealPrice;

    @ApiModelProperty("浏览量")
    private Integer browseCount;

    @ApiModelProperty("浏览人数")
    private Integer browserCount;

    @ApiModelProperty("平均浏览时长")
    private Long avgbrowseTimes;

    @ApiModelProperty("购买次数")
    private Integer saleCount;

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

    @ApiModelProperty("描述信息")
    private String description;

}
