Commit bec5df1d by songxiang

直播转码常量类

parent c8848fc3
...@@ -3,11 +3,12 @@ ...@@ -3,11 +3,12 @@
*/ */
package com.pcloud.common.core.dto; package com.pcloud.common.core.dto;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable; import java.io.Serializable;
/** /**
* @描述: * @描述:
*
* @作者:songx * @作者:songx
* @创建时间:2017年2月27日,上午11:23:29 @版本:1.0 * @创建时间:2017年2月27日,上午11:23:29 @版本:1.0
*/ */
...@@ -34,6 +35,12 @@ public class ConvertQueueDto implements Serializable { ...@@ -34,6 +35,12 @@ public class ConvertQueueDto implements Serializable {
private String fromType; private String fromType;
/** /**
* 自定义类型,fromType的二级类型
*/
@ApiModelProperty(name = "自定义类型", dataType = "String")
private String customType;
/**
* 来源标识 * 来源标识
*/ */
private Long fromId; private Long fromId;
...@@ -83,6 +90,14 @@ public class ConvertQueueDto implements Serializable { ...@@ -83,6 +90,14 @@ public class ConvertQueueDto implements Serializable {
*/ */
private String m3u8Url; private String m3u8Url;
public String getCustomType() {
return customType;
}
public void setCustomType(String customType) {
this.customType = customType;
}
public String getM3u8Url() { public String getM3u8Url() {
return m3u8Url; return m3u8Url;
} }
...@@ -171,8 +186,7 @@ public class ConvertQueueDto implements Serializable { ...@@ -171,8 +186,7 @@ public class ConvertQueueDto implements Serializable {
} }
/** /**
* @param fileUrl * @param fileUrl The fileUrl to set.
* The fileUrl to set.
*/ */
public void setFileUrl(String fileUrl) { public void setFileUrl(String fileUrl) {
this.fileUrl = fileUrl; this.fileUrl = fileUrl;
...@@ -186,8 +200,7 @@ public class ConvertQueueDto implements Serializable { ...@@ -186,8 +200,7 @@ public class ConvertQueueDto implements Serializable {
} }
/** /**
* @param fileSize * @param fileSize The fileSize to set.
* The fileSize to set.
*/ */
public void setFileSize(Long fileSize) { public void setFileSize(Long fileSize) {
this.fileSize = fileSize; this.fileSize = fileSize;
......
...@@ -37,7 +37,12 @@ public enum TranscodeFromEnum { ...@@ -37,7 +37,12 @@ public enum TranscodeFromEnum {
/** /**
* 直播 * 直播
*/ */
LIVE_PPT("LIVE_PPT"); LIVE_PPT("LIVE_PPT"),
/**
* 直播
*/
LIVE_HOMEWORD("LIVE_HOMEWORD");
/** /**
* 值 * 值
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment