package com.ruoyi.interchange.domain;
|
|
import com.fasterxml.jackson.annotation.JsonFormat;
|
import com.ruoyi.common.annotation.Excel;
|
import com.ruoyi.common.core.domain.BaseEntity;
|
import org.apache.commons.lang3.builder.ToStringBuilder;
|
import org.apache.commons.lang3.builder.ToStringStyle;
|
|
import java.util.Date;
|
|
/**
|
* 数据发送记录对象 tb_data_send_records
|
*
|
* @author ruoyi
|
* @date 2023-04-25
|
*/
|
public class TbDataSendRecords extends BaseEntity
|
{
|
private static final long serialVersionUID = 1L;
|
|
/** 主键ID */
|
private String id;
|
|
/** 文件名 */
|
@Excel(name = "文件名")
|
private String fileName;
|
|
/** 数据头 */
|
@Excel(name = "数据头")
|
private String dataHeader;
|
|
/** 数据数量 */
|
@Excel(name = "数据数量")
|
private Long dataNumber;
|
|
/** 文件发送FTP位置 */
|
@Excel(name = "文件发送FTP位置")
|
private String sendFileUrl;
|
|
/** 所属煤矿ID */
|
@Excel(name = "所属煤矿ID")
|
private Long coalMineId;
|
|
/** 所属系统ID */
|
@Excel(name = "所属系统ID")
|
private Long systemId;
|
|
/** 数据文件采集规则ID */
|
@Excel(name = "数据文件采集规则ID")
|
private Long ruleId;
|
|
/** 文件处理时间 */
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
@Excel(name = "文件处理时间", width = 30, dateFormat = "yyyy-MM-dd")
|
private Date detectionTime;
|
|
/** 是否系统生成的 */
|
@Excel(name = "是否系统生成的 0是 1否")
|
private String detectionResult;
|
|
/** 校验结果 */
|
@Excel(name = "校验结果 0通过 1未通过")
|
private String checkResult;
|
|
/** 发送结果 */
|
@Excel(name = "发送结果 0成功 1失败")
|
private String sendResult;
|
|
public String getId() {
|
return id;
|
}
|
|
public void setId(String id) {
|
this.id = id;
|
}
|
|
public void setFileName(String fileName)
|
{
|
this.fileName = fileName;
|
}
|
|
public String getFileName()
|
{
|
return fileName;
|
}
|
public void setDataHeader(String dataHeader)
|
{
|
this.dataHeader = dataHeader;
|
}
|
|
public String getDataHeader()
|
{
|
return dataHeader;
|
}
|
public void setDataNumber(Long dataNumber)
|
{
|
this.dataNumber = dataNumber;
|
}
|
|
public Long getDataNumber()
|
{
|
return dataNumber;
|
}
|
public void setSendFileUrl(String sendFileUrl)
|
{
|
this.sendFileUrl = sendFileUrl;
|
}
|
|
public String getSendFileUrl()
|
{
|
return sendFileUrl;
|
}
|
public void setCoalMineId(Long coalMineId)
|
{
|
this.coalMineId = coalMineId;
|
}
|
|
public Long getCoalMineId()
|
{
|
return coalMineId;
|
}
|
public void setSystemId(Long systemId)
|
{
|
this.systemId = systemId;
|
}
|
|
public Long getSystemId()
|
{
|
return systemId;
|
}
|
public void setRuleId(Long ruleId)
|
{
|
this.ruleId = ruleId;
|
}
|
|
public Long getRuleId()
|
{
|
return ruleId;
|
}
|
public void setDetectionTime(Date detectionTime)
|
{
|
this.detectionTime = detectionTime;
|
}
|
|
public Date getDetectionTime()
|
{
|
return detectionTime;
|
}
|
public void setDetectionResult(String detectionResult)
|
{
|
this.detectionResult = detectionResult;
|
}
|
|
public String getDetectionResult()
|
{
|
return detectionResult;
|
}
|
public void setCheckResult(String checkResult)
|
{
|
this.checkResult = checkResult;
|
}
|
|
public String getCheckResult()
|
{
|
return checkResult;
|
}
|
public void setSendResult(String sendResult)
|
{
|
this.sendResult = sendResult;
|
}
|
|
public String getSendResult()
|
{
|
return sendResult;
|
}
|
|
@Override
|
public String toString() {
|
return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
|
.append("id", getId())
|
.append("fileName", getFileName())
|
.append("dataHeader", getDataHeader())
|
.append("dataNumber", getDataNumber())
|
.append("sendFileUrl", getSendFileUrl())
|
.append("coalMineId", getCoalMineId())
|
.append("systemId", getSystemId())
|
.append("ruleId", getRuleId())
|
.append("detectionTime", getDetectionTime())
|
.append("detectionResult", getDetectionResult())
|
.append("checkResult", getCheckResult())
|
.append("sendResult", getSendResult())
|
.toString();
|
}
|
}
|