package com.yeshi.buwan.funtv.entity;
|
|
import com.google.gson.annotations.SerializedName;
|
import org.springframework.data.annotation.Id;
|
import org.springframework.data.mongodb.core.index.Indexed;
|
import org.springframework.data.mongodb.core.mapping.Document;
|
|
import java.io.Serializable;
|
|
//风行视频
|
@Document(collection = "funTvShortVideo")
|
public class FunTVShortVideo2 implements Serializable {
|
|
|
/**
|
* id : 视频唯一标识
|
* name : 视频名称
|
* channel_id : 视频频道ID
|
* channel : 视频频道(搞笑、体育、娱乐)
|
* still : 横图
|
* poster : 竖图(一般为空)
|
* category : 题材
|
* aword : 一句话推荐
|
* brief : 简介
|
* duration : 时长,格式: 分钟:秒,例如90:23表示视频时长90分钟23秒
|
* player_url : 播放器样式的h5播放页地址(展示样式:页面只含有一个播放器,无其他信息)
|
* fun_h5_url : 风行定制样式的h5播放页地址(展示样式:页面包含播放器、剧集信息、相关视频等其他内容),格式形如http://m.fun.tv/focplay/?vid={短视频ID}&malliance={$cp}
|
* status : 状态,0不可用(下线),1可用
|
* vv : 观看数
|
* release : 视频发布时间(最后更新时间)格式yyyy-mm-dd hh:ii:ss
|
* android_deeplink : 安卓拉起APP deeplink,形如fsp://m.fun.tv/vplay/m-{短视频ID}
|
* ios_deeplink : IOS拉起APP deeplink,形如funtv://?mtype=vplay&mid={短视频ID}&cid={短视频频道ID}
|
* display_ratio : 宽高比,float型,display_ratio>=1表示横屏,display_ratio<1表示竖屏,0表示无法分辨横竖屏
|
* provider : {"cp_id":"CPID","name":"CP名称","icon":"CP头像"}
|
*/
|
|
@Id
|
private String id;
|
private String name;
|
@Indexed
|
@SerializedName("channel_id")
|
private String channelId;
|
private String channel;
|
private String still;
|
private String poster;
|
private String category;
|
private String aword;
|
private String brief;
|
private String duration;
|
@SerializedName("player_url")
|
private String playerUrl;
|
@SerializedName("fun_h5_url")
|
private String funH5Url;
|
private String status;
|
private String vv;
|
private String release;
|
@SerializedName("android_deeplink")
|
private String androidDeeplink;
|
@SerializedName("ios_deeplink")
|
private String iosDeeplink;
|
@SerializedName("display_ratio")
|
private String displayRatio;
|
private ProviderBean provider;
|
|
public String getChannelId() {
|
return channelId;
|
}
|
|
public void setChannelId(String channelId) {
|
this.channelId = channelId;
|
}
|
|
public String getPlayerUrl() {
|
return playerUrl;
|
}
|
|
public void setPlayerUrl(String playerUrl) {
|
this.playerUrl = playerUrl;
|
}
|
|
public String getFunH5Url() {
|
return funH5Url;
|
}
|
|
public void setFunH5Url(String funH5Url) {
|
this.funH5Url = funH5Url;
|
}
|
|
public String getAndroidDeeplink() {
|
return androidDeeplink;
|
}
|
|
public void setAndroidDeeplink(String androidDeeplink) {
|
this.androidDeeplink = androidDeeplink;
|
}
|
|
public String getIosDeeplink() {
|
return iosDeeplink;
|
}
|
|
public void setIosDeeplink(String iosDeeplink) {
|
this.iosDeeplink = iosDeeplink;
|
}
|
|
public String getDisplayRatio() {
|
return displayRatio;
|
}
|
|
public void setDisplayRatio(String displayRatio) {
|
this.displayRatio = displayRatio;
|
}
|
|
public String getId() {
|
return id;
|
}
|
|
public void setId(String id) {
|
this.id = id;
|
}
|
|
public String getName() {
|
return name;
|
}
|
|
public void setName(String name) {
|
this.name = name;
|
}
|
|
|
|
public String getChannel() {
|
return channel;
|
}
|
|
public void setChannel(String channel) {
|
this.channel = channel;
|
}
|
|
public String getStill() {
|
return still;
|
}
|
|
public void setStill(String still) {
|
this.still = still;
|
}
|
|
public String getPoster() {
|
return poster;
|
}
|
|
public void setPoster(String poster) {
|
this.poster = poster;
|
}
|
|
public String getCategory() {
|
return category;
|
}
|
|
public void setCategory(String category) {
|
this.category = category;
|
}
|
|
public String getAword() {
|
return aword;
|
}
|
|
public void setAword(String aword) {
|
this.aword = aword;
|
}
|
|
public String getBrief() {
|
return brief;
|
}
|
|
public void setBrief(String brief) {
|
this.brief = brief;
|
}
|
|
public String getDuration() {
|
return duration;
|
}
|
|
public void setDuration(String duration) {
|
this.duration = duration;
|
}
|
|
public String getStatus() {
|
return status;
|
}
|
|
public void setStatus(String status) {
|
this.status = status;
|
}
|
|
public String getVv() {
|
return vv;
|
}
|
|
public void setVv(String vv) {
|
this.vv = vv;
|
}
|
|
public String getRelease() {
|
return release;
|
}
|
|
public void setRelease(String release) {
|
this.release = release;
|
}
|
|
public ProviderBean getProvider() {
|
return provider;
|
}
|
|
public void setProvider(ProviderBean provider) {
|
this.provider = provider;
|
}
|
|
public static class ProviderBean {
|
/**
|
* cp_id : CPID
|
* name : CP名称
|
* icon : CP头像
|
*/
|
|
private String cp_id;
|
private String name;
|
private String icon;
|
|
public String getCp_id() {
|
return cp_id;
|
}
|
|
public void setCp_id(String cp_id) {
|
this.cp_id = cp_id;
|
}
|
|
public String getName() {
|
return name;
|
}
|
|
public void setName(String name) {
|
this.name = name;
|
}
|
|
public String getIcon() {
|
return icon;
|
}
|
|
public void setIcon(String icon) {
|
this.icon = icon;
|
}
|
}
|
}
|