package com.ycwl.basic.model.mobile.goods;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

/**
 * @Author：longbinbin
 * @Date：2024/12/5 15:10
 */
@Data
@ApiModel("vlog商品详情")
public class VideoGoodsDetailVO {
    @ApiModelProperty("商品名称")
    private String goodsName;
    @ApiModelProperty("景区id")
    private Long scenicId;
    @ApiModelProperty("景区名称")
    private String scenicName;
    @ApiModelProperty("经度")
    private BigDecimal longitude;
    @ApiModelProperty("纬度")
    private BigDecimal latitude;
    @ApiModelProperty("商品类型 1:成片视频 2:源素材")
    private Integer goodsType;
    @ApiModelProperty("源素材类型 1:视频 2:图片")
    private Integer sourceType;
    @ApiModelProperty("商品id goodsType=1时为videoId，goodsType=2时为sourceId")
    private Long goodsId;
    @ApiModelProperty("模版封面图片")
    private String templateCoverUrl;
    @ApiModelProperty("图片文件存储地址")
    private String url;
    @ApiModelProperty("视频文件存储地址")
    private String videoUrl;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createTime;
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date shotTime;
    @ApiModelProperty("价格")
    private String price;
    private String slashPrice;
    @ApiModelProperty("是否已购买 0否 1是")
    private Integer isBuy;
    @ApiModelProperty("镜头数")
    private Integer lensNum;
    private Long faceId;
    private boolean share = false;
    private Integer height;
    private Integer width;
    private BigDecimal duration;
}
