package com.qxueyou.scc.statistic.model;
|
|
import java.io.Serializable;
|
import java.util.Date;
|
|
import javax.persistence.Column;
|
import javax.persistence.Entity;
|
import javax.persistence.GeneratedValue;
|
import javax.persistence.Id;
|
import javax.persistence.NamedQuery;
|
import javax.persistence.Table;
|
|
import org.hibernate.annotations.GenericGenerator;
|
import org.springframework.format.annotation.DateTimeFormat;
|
|
import com.qxueyou.scc.base.model.ITrace;
|
import com.fasterxml.jackson.annotation.JsonIgnore;
|
|
/**
|
* 直播视频流量统计明细
|
* @author ody.yuan
|
*
|
*/
|
@Entity(name="SchFlowStatisticDetail")
|
@Table(name="SCH_FLOW_STATISTIC_DETAIL")
|
@NamedQuery(name="SchFlowStatisticDetail.findAll", query="SELECT s FROM SchFlowStatisticDetail s")
|
public class SchFlowStatisticDetail implements Serializable,ITrace {
|
|
private static final long serialVersionUID = 1L;
|
|
/** 业务类型,1 直播;2,直播回放; 3.点播;4.已下载视频;5.下载视频) */
|
public static final short BUSINESS_TYPE_LIVE = 1;
|
|
public static final short BUSINESS_TYPE_REVIEW = 2;
|
|
public static final short BUSINESS_TYPE_VIDEO = 3;
|
|
public static final short BUSINESS_TYPE_VIDEO_DOWNLOADED = 4;
|
|
public static final short BUSINESS_TYPE_VIDEO_DOWNLOAD = 5;
|
|
/** 主键 */
|
@Id
|
@GeneratedValue(generator = "hibernate-uuid")
|
@GenericGenerator(name = "hibernate-uuid", strategy = "uuid")
|
@Column(name="DETAIL_ID", unique=true, nullable=false, length=32)
|
private String detailId;
|
|
/** 创建者ID */
|
@Column(name="CREATE_ID", nullable=false, length=32)
|
@JsonIgnore
|
private String createId;
|
|
/** 创建时间 */
|
@Column(name="CREATE_TIME", nullable=false)
|
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
@JsonIgnore
|
private Date createTime;
|
|
/** 创建人 */
|
@Column(name="CREATOR", nullable=false, length=100)
|
@JsonIgnore
|
private String creator;
|
|
/** 删除标志 */
|
@Column(name="DELETE_FLAG", nullable=false)
|
@JsonIgnore
|
private boolean deleteFlag;
|
|
/** 修改人ID */
|
@Column(name="UPDATE_ID", length=32)
|
@JsonIgnore
|
private String updateId;
|
|
/** 修改时间 */
|
@Column(name="UPDATE_TIME", nullable=false)
|
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
@JsonIgnore
|
private Date updateTime;
|
|
/** 修改人 */
|
@Column(name="UPDATOR", length=100)
|
@JsonIgnore
|
private String updator;
|
|
|
@Column(name="VIDEO_ID", length=32)
|
private String videoId;
|
|
@Column(name="LIVE_VIDEO_ID", length=32)
|
private String liveVideoId;
|
|
@Column(name="START_TIME")
|
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm")
|
private Date startTime;
|
|
@Column(name="END_TIME")
|
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm")
|
private Date endTime;
|
|
@Column(name="BUSINESS_TYPE")
|
private short businessType;
|
|
@Column(name="VIDEO_START_TIME")
|
private Integer videoStartTime ;
|
|
@Column(name="VIDEO_END_TIME")
|
private Integer videoEndTime ;
|
|
@Column(name="DEFINITION")
|
private String definition;
|
|
@Column(name="TOP_ORG_ID", length=32)
|
private String topOrgId;
|
|
@Column(name="ORG_CODE", length=64)
|
private String orgCode;
|
|
@Column(name="ORG_ID", length=32)
|
private String orgId;
|
|
@Column(name="CLASS_ID", length=32)
|
private String classId;
|
|
@Column(name="USER_ID", length=32)
|
private String userId;
|
|
@Column(name="PLATFORM")
|
private String platform;
|
|
/**
|
* @return the flowId
|
*/
|
public String getDetailId() {
|
return detailId;
|
}
|
|
/**
|
* @param flowId the flowId to set
|
*/
|
public void setDetailId(String detailId) {
|
this.detailId = detailId;
|
}
|
|
/**
|
* @return the createId
|
*/
|
public String getCreateId() {
|
return createId;
|
}
|
|
/**
|
* @param createId the createId to set
|
*/
|
public void setCreateId(String createId) {
|
this.createId = createId;
|
}
|
|
/**
|
* @return the createTime
|
*/
|
public Date getCreateTime() {
|
return createTime;
|
}
|
|
/**
|
* @param createTime the createTime to set
|
*/
|
public void setCreateTime(Date createTime) {
|
this.createTime = createTime;
|
}
|
|
/**
|
* @return the creator
|
*/
|
public String getCreator() {
|
return creator;
|
}
|
|
/**
|
* @param creator the creator to set
|
*/
|
public void setCreator(String creator) {
|
this.creator = creator;
|
}
|
|
/**
|
* @return the deleteFlag
|
*/
|
public boolean getDeleteFlag() {
|
return deleteFlag;
|
}
|
|
/**
|
* @param deleteFlag the deleteFlag to set
|
*/
|
public void setDeleteFlag(boolean deleteFlag) {
|
this.deleteFlag = deleteFlag;
|
}
|
|
/**
|
* @return the updateId
|
*/
|
public String getUpdateId() {
|
return updateId;
|
}
|
|
/**
|
* @param updateId the updateId to set
|
*/
|
public void setUpdateId(String updateId) {
|
this.updateId = updateId;
|
}
|
|
/**
|
* @return the updateTime
|
*/
|
public Date getUpdateTime() {
|
return updateTime;
|
}
|
|
/**
|
* @param updateTime the updateTime to set
|
*/
|
public void setUpdateTime(Date updateTime) {
|
this.updateTime = updateTime;
|
}
|
|
/**
|
* @return the updator
|
*/
|
public String getUpdator() {
|
return updator;
|
}
|
|
/**
|
* @param updator the updator to set
|
*/
|
public void setUpdator(String updator) {
|
this.updator = updator;
|
}
|
|
/**
|
* @return the videoId
|
*/
|
public String getVideoId() {
|
return videoId;
|
}
|
|
/**
|
* @param videoId the videoId to set
|
*/
|
public void setVideoId(String videoId) {
|
this.videoId = videoId;
|
}
|
|
/**
|
* @return the liveVideoId
|
*/
|
public String getLiveVideoId() {
|
return liveVideoId;
|
}
|
|
/**
|
* @param liveVideoId the liveVideoId to set
|
*/
|
public void setLiveVideoId(String liveVideoId) {
|
this.liveVideoId = liveVideoId;
|
}
|
|
/**
|
* @return the startTime
|
*/
|
public Date getStartTime() {
|
return startTime;
|
}
|
|
/**
|
* @param startTime the startTime to set
|
*/
|
public void setStartTime(Date startTime) {
|
this.startTime = startTime;
|
}
|
|
/**
|
* @return the endTime
|
*/
|
public Date getEndTime() {
|
return endTime;
|
}
|
|
/**
|
* @param endTime the endTime to set
|
*/
|
public void setEndTime(Date endTime) {
|
this.endTime = endTime;
|
}
|
|
/**
|
* @return the businessType
|
*/
|
public short getBusinessType() {
|
return businessType;
|
}
|
|
/**
|
* @param businessType the businessType to set
|
*/
|
public void setBusinessType(short businessType) {
|
this.businessType = businessType;
|
}
|
|
/**
|
* @return the videoStartTime
|
*/
|
public Integer getVideoStartTime() {
|
return videoStartTime;
|
}
|
|
/**
|
* @param videoStartTime the videoStartTime to set
|
*/
|
public void setVideoStartTime(Integer videoStartTime) {
|
this.videoStartTime = videoStartTime;
|
}
|
|
/**
|
* @return the videoEndTime
|
*/
|
public Integer getVideoEndTime() {
|
return videoEndTime;
|
}
|
|
/**
|
* @param videoEndTime the videoEndTime to set
|
*/
|
public void setVideoEndTime(Integer videoEndTime) {
|
this.videoEndTime = videoEndTime;
|
}
|
|
/**
|
* @return the definition
|
*/
|
public String getDefinition() {
|
return definition;
|
}
|
|
/**
|
* @param definition the definition to set
|
*/
|
public void setDefinition(String definition) {
|
this.definition = definition;
|
}
|
|
/**
|
* @return the topOrgId
|
*/
|
public String getTopOrgId() {
|
return topOrgId;
|
}
|
|
/**
|
* @param topOrgId the topOrgId to set
|
*/
|
public void setTopOrgId(String topOrgId) {
|
this.topOrgId = topOrgId;
|
}
|
|
/**
|
* @return the orgId
|
*/
|
public String getOrgId() {
|
return orgId;
|
}
|
|
/**
|
* @param orgId the orgId to set
|
*/
|
public void setOrgId(String orgId) {
|
this.orgId = orgId;
|
}
|
|
/**
|
* @return the classId
|
*/
|
public String getClassId() {
|
return classId;
|
}
|
|
/**
|
* @param classId the classId to set
|
*/
|
public void setClassId(String classId) {
|
this.classId = classId;
|
}
|
|
/**
|
* @return the userId
|
*/
|
public String getUserId() {
|
return userId;
|
}
|
|
/**
|
* @param userId the userId to set
|
*/
|
public void setUserId(String userId) {
|
this.userId = userId;
|
}
|
|
/**
|
* @return the platform
|
*/
|
public String getPlatform() {
|
return platform;
|
}
|
|
/**
|
* @param platform the platform to set
|
*/
|
public void setPlatform(String platform) {
|
this.platform = platform;
|
}
|
|
/**
|
* @return the orgCode
|
*/
|
public String getOrgCode() {
|
return orgCode;
|
}
|
|
/**
|
* @param orgCode the orgCode to set
|
*/
|
public void setOrgCode(String orgCode) {
|
this.orgCode = orgCode;
|
}
|
|
|
|
}
|