package com.newvideo.domain.entity;
|
|
import com.google.gson.annotations.Expose;
|
import com.newvideo.domain.VideoResource;
|
|
import java.io.Serializable;
|
|
public class PlayUrl implements Serializable {
|
@Expose
|
private VideoResource resource;
|
@Expose
|
private String url;
|
@Expose
|
private int playType;// 播放类型 0-不能播放 1-站外 2-站内
|
@Expose
|
private String params;
|
@Expose
|
private String code;
|
|
public String getCode() {
|
return code;
|
}
|
|
public void setCode(String code) {
|
this.code = code;
|
}
|
|
public VideoResource getResource() {
|
return resource;
|
}
|
|
public void setResource(VideoResource resource) {
|
this.resource = resource;
|
}
|
|
public String getUrl() {
|
return url;
|
}
|
|
public void setUrl(String url) {
|
this.url = url;
|
}
|
|
public int getPlayType() {
|
return playType;
|
}
|
|
public void setPlayType(int playType) {
|
this.playType = playType;
|
}
|
|
public String getParams() {
|
return params;
|
}
|
|
public void setParams(String params) {
|
this.params = params;
|
}
|
}
|