admin
2024-02-21 2272213fea7ab9ea6250eefad55bb113ce2b1837
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
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();
    }
}