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_rules * * @author ruoyi * @date 2023-04-26 */ public class TbDataRules extends BaseEntity { private static final long serialVersionUID = 1L; /** 主键 */ private Long id; /** 所属系统ID */ @Excel(name = "所属系统ID") private Long systemId; /** 数据名称 */ @Excel(name = "数据名称") private String dataName; /** 露天矿编码 */ @Excel(name = "露天矿编码") private String coalMineCode; /** 业务数据编码 */ @Excel(name = "业务数据编码") private String dataCode; /** 数据类型标识 */ @Excel(name = "数据类型标识") private String dataTypeCode; /** 生成周期 */ @Excel(name = "生成周期") private Long cycle; /** 生成周期描述 */ @Excel(name = "生成周期描述") private String cycleDescription; /** 文件加密规则 */ @Excel(name = "文件加密规则") private String encryption; /** 文件接收位置 */ @Excel(name = "文件接收位置") private String receiveUrl; /** 最后一次生成时间 */ @JsonFormat(pattern = "yyyy-MM-dd") @Excel(name = "最后一次生成时间", width = 30, dateFormat = "yyyy-MM-dd") private Date lastTime; /** 是否检查 */ @Excel(name = "是否检查(0是,1否)") private String checkFlag; /** 检查标题 */ @Excel(name = "检查标题") private String checkTitle; /** 检查头 */ @Excel(name = "检查头") private String checkHead; private String sendPath; public void setId(Long id) { this.id = id; } public Long getId() { return id; } public void setSystemId(Long systemId) { this.systemId = systemId; } public Long getSystemId() { return systemId; } public void setDataName(String dataName) { this.dataName = dataName; } public String getDataName() { return dataName; } public void setCoalMineCode(String coalMineCode) { this.coalMineCode = coalMineCode; } public String getCoalMineCode() { return coalMineCode; } public void setDataCode(String dataCode) { this.dataCode = dataCode; } public String getDataCode() { return dataCode; } public void setDataTypeCode(String dataTypeCode) { this.dataTypeCode = dataTypeCode; } public String getDataTypeCode() { return dataTypeCode; } public void setCycle(Long cycle) { this.cycle = cycle; } public Long getCycle() { return cycle; } public void setCycleDescription(String cycleDescription) { this.cycleDescription = cycleDescription; } public String getCycleDescription() { return cycleDescription; } public void setEncryption(String encryption) { this.encryption = encryption; } public String getEncryption() { return encryption; } public void setReceiveUrl(String receiveUrl) { this.receiveUrl = receiveUrl; } public String getReceiveUrl() { return receiveUrl; } public void setLastTime(Date lastTime) { this.lastTime = lastTime; } public Date getLastTime() { return lastTime; } public void setCheckFlag(String checkFlag) { this.checkFlag = checkFlag; } public String getCheckFlag() { return checkFlag; } public String getCheckTitle() { return checkTitle; } public void setCheckTitle(String checkTitle) { this.checkTitle = checkTitle; } public String getCheckHead() { return checkHead; } public void setCheckHead(String checkHead) { this.checkHead = checkHead; } public String getSendPath() { return sendPath; } public void setSendPath(String sendPath) { this.sendPath = sendPath; } @Override public String toString() { return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE) .append("id", getId()) .append("systemId", getSystemId()) .append("dataName", getDataName()) .append("coalMineCode", getCoalMineCode()) .append("dataCode", getDataCode()) .append("dataTypeCode", getDataTypeCode()) .append("cycle", getCycle()) .append("cycleDescription", getCycleDescription()) .append("encryption", getEncryption()) .append("receiveUrl", getReceiveUrl()) .append("lastTime", getLastTime()) .append("checkFlag", getCheckFlag()) .toString(); } }