音视频样例配置审核流程(配置下发,配置取消)完善
This commit is contained in:
@@ -1,16 +1,51 @@
|
||||
package com.nis.domain.configuration;
|
||||
|
||||
import com.google.gson.annotations.Expose;
|
||||
import com.google.gson.annotations.SerializedName;
|
||||
|
||||
public class AvFileSampleCfg extends BaseCfg<AvFileSampleCfg> {
|
||||
/**
|
||||
*
|
||||
*/
|
||||
private static final long serialVersionUID = -2356472662189941874L;
|
||||
@Expose
|
||||
@SerializedName("srcFile")
|
||||
private String srcUrl;
|
||||
@Expose
|
||||
@SerializedName("sampleFile")
|
||||
private String sampleUrl;
|
||||
@Expose
|
||||
@SerializedName("srcFileMd5")
|
||||
private String srcMd5;
|
||||
@Expose
|
||||
@SerializedName("sampleFileMd5")
|
||||
private String sampleMd5;
|
||||
@Expose
|
||||
private Integer level;
|
||||
@Expose
|
||||
@SerializedName("cfgId")
|
||||
private Integer compileId;
|
||||
private String srcPath;
|
||||
private String samplePath;
|
||||
|
||||
public String getSrcPath() {
|
||||
return srcPath;
|
||||
}
|
||||
public void setSrcPath(String srcPath) {
|
||||
this.srcPath = srcPath;
|
||||
}
|
||||
public String getSamplePath() {
|
||||
return samplePath;
|
||||
}
|
||||
public void setSamplePath(String samplePath) {
|
||||
this.samplePath = samplePath;
|
||||
}
|
||||
public Integer getCompileId() {
|
||||
return compileId;
|
||||
}
|
||||
public void setCompileId(Integer compileId) {
|
||||
this.compileId = compileId;
|
||||
}
|
||||
public String getSrcUrl() {
|
||||
return srcUrl;
|
||||
}
|
||||
|
||||
@@ -1,13 +1,21 @@
|
||||
package com.nis.domain.configuration;
|
||||
|
||||
import com.google.gson.annotations.Expose;
|
||||
import com.google.gson.annotations.SerializedName;
|
||||
|
||||
public class AvSignSampleCfg extends BaseCfg<AvSignSampleCfg> {
|
||||
|
||||
/**
|
||||
*
|
||||
*/
|
||||
private static final long serialVersionUID = 8002327858986390761L;
|
||||
@Expose
|
||||
private String description;
|
||||
@Expose
|
||||
private Integer level;
|
||||
@Expose
|
||||
@SerializedName("cfgId")
|
||||
private Integer compileId;
|
||||
public String getDescription() {
|
||||
return description;
|
||||
}
|
||||
@@ -20,4 +28,11 @@ public class AvSignSampleCfg extends BaseCfg<AvSignSampleCfg> {
|
||||
public void setLevel(Integer level) {
|
||||
this.level = level;
|
||||
}
|
||||
public Integer getCompileId() {
|
||||
return compileId;
|
||||
}
|
||||
public void setCompileId(Integer compileId) {
|
||||
this.compileId = compileId;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -11,6 +11,9 @@ package com.nis.domain.configuration;
|
||||
import java.util.Date;
|
||||
import java.util.List;
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||
import com.google.gson.annotations.Expose;
|
||||
import com.google.gson.annotations.SerializedName;
|
||||
import com.nis.domain.BaseEntity;
|
||||
|
||||
/**
|
||||
@@ -54,6 +57,7 @@ public class BaseCfg<T> extends BaseEntity<T> implements Cloneable{
|
||||
/**
|
||||
* 有效标识
|
||||
*/
|
||||
@Expose
|
||||
protected Integer isValid;
|
||||
/**
|
||||
* 是否审核
|
||||
@@ -94,10 +98,14 @@ public class BaseCfg<T> extends BaseEntity<T> implements Cloneable{
|
||||
/**
|
||||
* 审核时间
|
||||
*/
|
||||
@Expose
|
||||
@SerializedName("opTime")
|
||||
protected Date auditTime;
|
||||
/**
|
||||
* 业务id
|
||||
*/
|
||||
@Expose
|
||||
@SerializedName("service")
|
||||
protected Integer serviceId;
|
||||
/**
|
||||
* 来函id
|
||||
@@ -332,7 +340,7 @@ public class BaseCfg<T> extends BaseEntity<T> implements Cloneable{
|
||||
* auditTime
|
||||
* @return auditTime
|
||||
*/
|
||||
|
||||
@JsonFormat(pattern = "yyyy-MM-dd'T'HH:mm:ss.SSS'Z'")
|
||||
public Date getAuditTime() {
|
||||
return auditTime;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user