update - 实体类型

master
yinq 11 months ago
parent 0f4bd709b3
commit d6374f00fa

@ -1,6 +1,8 @@
package com.aucma.report.domain; package com.aucma.report.domain;
import java.math.BigDecimal;
import java.util.Date; import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder; import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle; import org.apache.commons.lang3.builder.ToStringStyle;
@ -13,183 +15,193 @@ import com.aucma.common.core.domain.BaseEntity;
* @author ruoyi * @author ruoyi
* @date 2023-10-09 * @date 2023-10-09
*/ */
public class ReportDayDnb extends BaseEntity public class ReportDayDnb extends BaseEntity {
{ private static final long serialVersionUID = 1L;
private static final long serialVersionUID=1L;
/** 主键标识 */ /**
*
*/
private Long objId; private Long objId;
/** 计量设备编号 */ /**
@Excel(name = "计量设备编号") *
*/
@Excel(name = "计量设备编号")
private String monitorCode; private String monitorCode;
/** 仪表值 */ /**
@Excel(name = "仪表值") *
private Long instrumentValue; */
@Excel(name = "仪表值")
/** 耗量 */ private BigDecimal instrumentValue;
@Excel(name = "耗量")
private Long expend; /**
*
/** 报表日期 */ */
@Excel(name = "报表日期") @Excel(name = "耗量")
private BigDecimal expend;
/**
*
*/
@Excel(name = "报表日期")
private String reportDate; private String reportDate;
/** 开始时间 */ /**
@Excel(name = "开始时间") *
*/
@Excel(name = "开始时间")
private String beginTime; private String beginTime;
/** 结束时间 */ /**
@Excel(name = "结束时间") *
*/
@Excel(name = "结束时间")
private String endTime; private String endTime;
/** 是否标识 */ /**
@Excel(name = "是否标识") *
*/
@Excel(name = "是否标识")
private Long isFlag; private Long isFlag;
/** 创建人 */ /**
@Excel(name = "创建人") *
*/
@Excel(name = "创建人")
private String createdBy; private String createdBy;
/** 创建时间 */ /**
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss") *
@Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss") */
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
@Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
private Date createdTime; private Date createdTime;
/** 更新人 */ /**
@Excel(name = "更新人") *
*/
@Excel(name = "更新人")
private String updatedBy; private String updatedBy;
/** 更新时间 */ /**
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss") *
@Excel(name = "更新时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss") */
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
@Excel(name = "更新时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
private Date updatedTime; private Date updatedTime;
public void setObjId(Long objId) public void setObjId(Long objId) {
{ this.objId = objId;
this.objId = objId; }
}
public Long getObjId() {
public Long getObjId() return objId;
{ }
return objId;
} public void setMonitorCode(String monitorCode) {
public void setMonitorCode(String monitorCode) this.monitorCode = monitorCode;
{ }
this.monitorCode = monitorCode;
} public String getMonitorCode() {
return monitorCode;
public String getMonitorCode() }
{
return monitorCode; public void setInstrumentValue(BigDecimal instrumentValue) {
} this.instrumentValue = instrumentValue;
public void setInstrumentValue(Long instrumentValue) }
{
this.instrumentValue = instrumentValue; public BigDecimal getInstrumentValue() {
} return instrumentValue;
}
public Long getInstrumentValue()
{ public void setExpend(BigDecimal expend) {
return instrumentValue; this.expend = expend;
} }
public void setExpend(Long expend)
{ public BigDecimal getExpend() {
this.expend = expend; return expend;
} }
public Long getExpend() public void setReportDate(String reportDate) {
{ this.reportDate = reportDate;
return expend; }
}
public void setReportDate(String reportDate) public String getReportDate() {
{ return reportDate;
this.reportDate = reportDate; }
}
public void setBeginTime(String beginTime) {
public String getReportDate() this.beginTime = beginTime;
{ }
return reportDate;
} public String getBeginTime() {
public void setBeginTime(String beginTime) return beginTime;
{ }
this.beginTime = beginTime;
} public void setEndTime(String endTime) {
this.endTime = endTime;
public String getBeginTime() }
{
return beginTime; public String getEndTime() {
} return endTime;
public void setEndTime(String endTime) }
{
this.endTime = endTime; public void setIsFlag(Long isFlag) {
} this.isFlag = isFlag;
}
public String getEndTime()
{ public Long getIsFlag() {
return endTime; return isFlag;
} }
public void setIsFlag(Long isFlag)
{ public void setCreatedBy(String createdBy) {
this.isFlag = isFlag; this.createdBy = createdBy;
} }
public Long getIsFlag() public String getCreatedBy() {
{ return createdBy;
return isFlag; }
}
public void setCreatedBy(String createdBy) public void setCreatedTime(Date createdTime) {
{ this.createdTime = createdTime;
this.createdBy = createdBy; }
}
public Date getCreatedTime() {
public String getCreatedBy() return createdTime;
{ }
return createdBy;
} public void setUpdatedBy(String updatedBy) {
public void setCreatedTime(Date createdTime) this.updatedBy = updatedBy;
{ }
this.createdTime = createdTime;
} public String getUpdatedBy() {
return updatedBy;
public Date getCreatedTime() }
{
return createdTime; public void setUpdatedTime(Date updatedTime) {
} this.updatedTime = updatedTime;
public void setUpdatedBy(String updatedBy) }
{
this.updatedBy = updatedBy; public Date getUpdatedTime() {
} return updatedTime;
}
public String getUpdatedBy()
{ @Override
return updatedBy; public String toString() {
} return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
public void setUpdatedTime(Date updatedTime) .append("objId", getObjId())
{ .append("monitorCode", getMonitorCode())
this.updatedTime = updatedTime; .append("instrumentValue", getInstrumentValue())
} .append("expend", getExpend())
.append("reportDate", getReportDate())
public Date getUpdatedTime() .append("beginTime", getBeginTime())
{ .append("endTime", getEndTime())
return updatedTime; .append("isFlag", getIsFlag())
} .append("createdBy", getCreatedBy())
.append("createdTime", getCreatedTime())
@Override .append("updatedBy", getUpdatedBy())
public String toString(){ .append("updatedTime", getUpdatedTime())
return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE) .toString();
.append("objId",getObjId()) }
.append("monitorCode",getMonitorCode()) }
.append("instrumentValue",getInstrumentValue())
.append("expend",getExpend())
.append("reportDate",getReportDate())
.append("beginTime",getBeginTime())
.append("endTime",getEndTime())
.append("isFlag",getIsFlag())
.append("createdBy",getCreatedBy())
.append("createdTime",getCreatedTime())
.append("updatedBy",getUpdatedBy())
.append("updatedTime",getUpdatedTime())
.toString();
}
}

@ -1,5 +1,6 @@
package com.aucma.report.domain; package com.aucma.report.domain;
import java.math.BigDecimal;
import java.util.Date; import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonFormat;
@ -33,13 +34,13 @@ public class ReportPointDnb extends BaseEntity {
* *
*/ */
@Excel(name = "仪表值") @Excel(name = "仪表值")
private Long instrumentValue; private BigDecimal instrumentValue;
/** /**
* *
*/ */
@Excel(name = "耗量") @Excel(name = "耗量")
private Long expend; private BigDecimal expend;
/** /**
* *
@ -107,19 +108,19 @@ public class ReportPointDnb extends BaseEntity {
return monitorCode; return monitorCode;
} }
public void setInstrumentValue(Long instrumentValue) { public void setInstrumentValue(BigDecimal instrumentValue) {
this.instrumentValue = instrumentValue; this.instrumentValue = instrumentValue;
} }
public Long getInstrumentValue() { public BigDecimal getInstrumentValue() {
return instrumentValue; return instrumentValue;
} }
public void setExpend(Long expend) { public void setExpend(BigDecimal expend) {
this.expend = expend; this.expend = expend;
} }
public Long getExpend() { public BigDecimal getExpend() {
return expend; return expend;
} }

Loading…
Cancel
Save