|
|
@@ -0,0 +1,254 @@
|
|
|
+package com.ufo.project.forecast.fileupload.domain;
|
|
|
+
|
|
|
+import java.util.Date;
|
|
|
+import com.baomidou.mybatisplus.annotation.IdType;
|
|
|
+import com.baomidou.mybatisplus.annotation.TableField;
|
|
|
+import com.baomidou.mybatisplus.annotation.TableId;
|
|
|
+import com.baomidou.mybatisplus.annotation.TableName;
|
|
|
+import com.fasterxml.jackson.annotation.JsonFormat;
|
|
|
+import org.apache.commons.lang3.builder.ToStringBuilder;
|
|
|
+import org.apache.commons.lang3.builder.ToStringStyle;
|
|
|
+
|
|
|
+/**
|
|
|
+ * 功率预测上报日志对象 data_report_log
|
|
|
+ *
|
|
|
+ * @author ufo
|
|
|
+ * @date 2026-10-21
|
|
|
+ */
|
|
|
+@TableName("data_report_log")
|
|
|
+public class DataReportLog
|
|
|
+{
|
|
|
+ /** 日志主键ID */
|
|
|
+ @TableId(value = "id", type = IdType.AUTO)
|
|
|
+ private Long id;
|
|
|
+
|
|
|
+ /** 文件类型:supershort|short|medium */
|
|
|
+ private String type;
|
|
|
+
|
|
|
+ /** 关联预测曲线ID(forecast_curve) */
|
|
|
+ private Long curveId;
|
|
|
+
|
|
|
+ /** 上报发起时间 */
|
|
|
+ @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
|
|
+ private Date reportTime;
|
|
|
+
|
|
|
+ /** 目标调度机构:省调/地调名称 */
|
|
|
+ private String targetDispatch;
|
|
|
+
|
|
|
+ /** 上报通道:1=IEC104,2=XML文件,3=FTP,4=MQTT */
|
|
|
+ private Integer channel;
|
|
|
+
|
|
|
+ /** 报文流水号,对外唯一 */
|
|
|
+ private String messageNo;
|
|
|
+
|
|
|
+ /** 报文原文存储路径 */
|
|
|
+ private String contentPath;
|
|
|
+
|
|
|
+ /** 上报状态:0待发送,1上报成功,2上报失败,3超时 */
|
|
|
+ private Integer status;
|
|
|
+
|
|
|
+ /** 调度侧返回报文/反馈信息 */
|
|
|
+ private String responseMsg;
|
|
|
+
|
|
|
+ /** 备注,失败原因描述 */
|
|
|
+ private String remark;
|
|
|
+
|
|
|
+ /** 记录创建时间 */
|
|
|
+ @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
|
|
+ private Date createTime;
|
|
|
+
|
|
|
+ /** 记录更新时间 */
|
|
|
+ @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
|
|
+ private Date updateTime;
|
|
|
+
|
|
|
+ private String createBy;
|
|
|
+
|
|
|
+ private String updateBy;
|
|
|
+
|
|
|
+ /** 上报时间起(查询用) */
|
|
|
+ @TableField(exist = false)
|
|
|
+ @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
|
|
+ private Date startTime;
|
|
|
+
|
|
|
+ /** 上报时间止(查询用) */
|
|
|
+ @TableField(exist = false)
|
|
|
+ @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
|
|
+ private Date endTime;
|
|
|
+
|
|
|
+ public void setId(Long id)
|
|
|
+ {
|
|
|
+ this.id = id;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Long getId()
|
|
|
+ {
|
|
|
+ return id;
|
|
|
+ }
|
|
|
+ public void setType(String type)
|
|
|
+ {
|
|
|
+ this.type = type;
|
|
|
+ }
|
|
|
+
|
|
|
+ public String getType()
|
|
|
+ {
|
|
|
+ return type;
|
|
|
+ }
|
|
|
+ public void setCurveId(Long curveId)
|
|
|
+ {
|
|
|
+ this.curveId = curveId;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Long getCurveId()
|
|
|
+ {
|
|
|
+ return curveId;
|
|
|
+ }
|
|
|
+ public void setReportTime(Date reportTime)
|
|
|
+ {
|
|
|
+ this.reportTime = reportTime;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Date getReportTime()
|
|
|
+ {
|
|
|
+ return reportTime;
|
|
|
+ }
|
|
|
+ public void setTargetDispatch(String targetDispatch)
|
|
|
+ {
|
|
|
+ this.targetDispatch = targetDispatch;
|
|
|
+ }
|
|
|
+
|
|
|
+ public String getTargetDispatch()
|
|
|
+ {
|
|
|
+ return targetDispatch;
|
|
|
+ }
|
|
|
+ public void setChannel(Integer channel)
|
|
|
+ {
|
|
|
+ this.channel = channel;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Integer getChannel()
|
|
|
+ {
|
|
|
+ return channel;
|
|
|
+ }
|
|
|
+ public void setMessageNo(String messageNo)
|
|
|
+ {
|
|
|
+ this.messageNo = messageNo;
|
|
|
+ }
|
|
|
+
|
|
|
+ public String getMessageNo()
|
|
|
+ {
|
|
|
+ return messageNo;
|
|
|
+ }
|
|
|
+ public void setContentPath(String contentPath)
|
|
|
+ {
|
|
|
+ this.contentPath = contentPath;
|
|
|
+ }
|
|
|
+
|
|
|
+ public String getContentPath()
|
|
|
+ {
|
|
|
+ return contentPath;
|
|
|
+ }
|
|
|
+ public void setStatus(Integer status)
|
|
|
+ {
|
|
|
+ this.status = status;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Integer getStatus()
|
|
|
+ {
|
|
|
+ return status;
|
|
|
+ }
|
|
|
+ public void setResponseMsg(String responseMsg)
|
|
|
+ {
|
|
|
+ this.responseMsg = responseMsg;
|
|
|
+ }
|
|
|
+
|
|
|
+ public String getResponseMsg()
|
|
|
+ {
|
|
|
+ return responseMsg;
|
|
|
+ }
|
|
|
+ public void setRemark(String remark)
|
|
|
+ {
|
|
|
+ this.remark = remark;
|
|
|
+ }
|
|
|
+
|
|
|
+ public String getRemark()
|
|
|
+ {
|
|
|
+ return remark;
|
|
|
+ }
|
|
|
+ public void setCreateTime(Date createTime)
|
|
|
+ {
|
|
|
+ this.createTime = createTime;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Date getCreateTime()
|
|
|
+ {
|
|
|
+ return createTime;
|
|
|
+ }
|
|
|
+ public void setUpdateTime(Date updateTime)
|
|
|
+ {
|
|
|
+ this.updateTime = updateTime;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Date getUpdateTime()
|
|
|
+ {
|
|
|
+ return updateTime;
|
|
|
+ }
|
|
|
+ public void setCreateBy(String createBy)
|
|
|
+ {
|
|
|
+ this.createBy = createBy;
|
|
|
+ }
|
|
|
+
|
|
|
+ public String getCreateBy()
|
|
|
+ {
|
|
|
+ return createBy;
|
|
|
+ }
|
|
|
+ public void setUpdateBy(String updateBy)
|
|
|
+ {
|
|
|
+ this.updateBy = updateBy;
|
|
|
+ }
|
|
|
+
|
|
|
+ public String getUpdateBy()
|
|
|
+ {
|
|
|
+ return updateBy;
|
|
|
+ }
|
|
|
+ public void setStartTime(Date startTime)
|
|
|
+ {
|
|
|
+ this.startTime = startTime;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Date getStartTime()
|
|
|
+ {
|
|
|
+ return startTime;
|
|
|
+ }
|
|
|
+ public void setEndTime(Date endTime)
|
|
|
+ {
|
|
|
+ this.endTime = endTime;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Date getEndTime()
|
|
|
+ {
|
|
|
+ return endTime;
|
|
|
+ }
|
|
|
+
|
|
|
+ @Override
|
|
|
+ public String toString() {
|
|
|
+ return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
|
|
|
+ .append("id", getId())
|
|
|
+ .append("type", getType())
|
|
|
+ .append("curveId", getCurveId())
|
|
|
+ .append("reportTime", getReportTime())
|
|
|
+ .append("targetDispatch", getTargetDispatch())
|
|
|
+ .append("channel", getChannel())
|
|
|
+ .append("messageNo", getMessageNo())
|
|
|
+ .append("contentPath", getContentPath())
|
|
|
+ .append("status", getStatus())
|
|
|
+ .append("responseMsg", getResponseMsg())
|
|
|
+ .append("remark", getRemark())
|
|
|
+ .append("createTime", getCreateTime())
|
|
|
+ .append("updateTime", getUpdateTime())
|
|
|
+ .append("createBy", getCreateBy())
|
|
|
+ .append("updateBy", getUpdateBy())
|
|
|
+ .append("startTime", getStartTime())
|
|
|
+ .append("endTime", getEndTime())
|
|
|
+ .toString();
|
|
|
+ }
|
|
|
+}
|