|
|
|
|
@ -1,6 +1,7 @@
|
|
|
|
|
package com.aucma.base.domain;
|
|
|
|
|
|
|
|
|
|
import java.util.Date;
|
|
|
|
|
|
|
|
|
|
import com.fasterxml.jackson.annotation.JsonFormat;
|
|
|
|
|
import org.apache.commons.lang3.builder.ToStringBuilder;
|
|
|
|
|
import org.apache.commons.lang3.builder.ToStringStyle;
|
|
|
|
|
@ -13,185 +14,223 @@ import com.aucma.common.core.domain.BaseEntity;
|
|
|
|
|
* @author Yinq
|
|
|
|
|
* @date 2023-10-12
|
|
|
|
|
*/
|
|
|
|
|
public class BaseMonitorWorkUnit extends BaseEntity
|
|
|
|
|
{
|
|
|
|
|
private static final long serialVersionUID=1L;
|
|
|
|
|
public class BaseMonitorWorkUnit extends BaseEntity {
|
|
|
|
|
private static final long serialVersionUID = 1L;
|
|
|
|
|
|
|
|
|
|
/** 主键标识 */
|
|
|
|
|
/**
|
|
|
|
|
* 主键标识
|
|
|
|
|
*/
|
|
|
|
|
@Excel(name = "主键标识")
|
|
|
|
|
private Long objId;
|
|
|
|
|
|
|
|
|
|
/** 计量设备编号 */
|
|
|
|
|
/**
|
|
|
|
|
* 计量设备编号
|
|
|
|
|
*/
|
|
|
|
|
@Excel(name = "计量设备编号")
|
|
|
|
|
private String monitorCode;
|
|
|
|
|
|
|
|
|
|
/** 统计单元编号 */
|
|
|
|
|
/**
|
|
|
|
|
* 计量设备名称
|
|
|
|
|
*/
|
|
|
|
|
@Excel(name = "计量设备名称")
|
|
|
|
|
private String monitorName;
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 统计单元编号
|
|
|
|
|
*/
|
|
|
|
|
@Excel(name = "统计单元编号")
|
|
|
|
|
private String workUnitCode;
|
|
|
|
|
|
|
|
|
|
/** 计量设备状态 */
|
|
|
|
|
/**
|
|
|
|
|
* 统计单元名称
|
|
|
|
|
*/
|
|
|
|
|
@Excel(name = "统计单元名称")
|
|
|
|
|
private String workUnitName;
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 计量设备状态
|
|
|
|
|
*/
|
|
|
|
|
@Excel(name = "计量设备状态")
|
|
|
|
|
private Long monitorStatus;
|
|
|
|
|
|
|
|
|
|
/** 计量设备类型 */
|
|
|
|
|
/**
|
|
|
|
|
* 计量设备类型
|
|
|
|
|
*/
|
|
|
|
|
@Excel(name = "计量设备类型")
|
|
|
|
|
private Long monitorType;
|
|
|
|
|
|
|
|
|
|
/** 计算方式(0-加,1-减) */
|
|
|
|
|
/**
|
|
|
|
|
* 计算方式(0-加,1-减)
|
|
|
|
|
*/
|
|
|
|
|
@Excel(name = "计算方式", readConverterExp = "0=-加,1-减")
|
|
|
|
|
private Long formulaMode;
|
|
|
|
|
|
|
|
|
|
/** 比率 */
|
|
|
|
|
/**
|
|
|
|
|
* 比率
|
|
|
|
|
*/
|
|
|
|
|
@Excel(name = "比率")
|
|
|
|
|
private Long proportion;
|
|
|
|
|
|
|
|
|
|
/** 启用标识 */
|
|
|
|
|
/**
|
|
|
|
|
* 启用标识
|
|
|
|
|
*/
|
|
|
|
|
@Excel(name = "启用标识")
|
|
|
|
|
private Long isFlag;
|
|
|
|
|
|
|
|
|
|
/** 创建人 */
|
|
|
|
|
/**
|
|
|
|
|
* 创建人
|
|
|
|
|
*/
|
|
|
|
|
@Excel(name = "创建人")
|
|
|
|
|
private String createdBy;
|
|
|
|
|
|
|
|
|
|
/** 创建时间 */
|
|
|
|
|
/**
|
|
|
|
|
* 创建时间
|
|
|
|
|
*/
|
|
|
|
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
|
|
|
|
@Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
|
|
|
|
|
private Date createdTime;
|
|
|
|
|
|
|
|
|
|
/** 修改人 */
|
|
|
|
|
/**
|
|
|
|
|
* 修改人
|
|
|
|
|
*/
|
|
|
|
|
@Excel(name = "修改人")
|
|
|
|
|
private String updatedBy;
|
|
|
|
|
|
|
|
|
|
/** 修改时间 */
|
|
|
|
|
/**
|
|
|
|
|
* 修改时间
|
|
|
|
|
*/
|
|
|
|
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
|
|
|
|
@Excel(name = "修改时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
|
|
|
|
|
private Date updatedTime;
|
|
|
|
|
|
|
|
|
|
public void setObjId(Long objId)
|
|
|
|
|
{
|
|
|
|
|
public String getMonitorName() {
|
|
|
|
|
return monitorName;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public void setMonitorName(String monitorName) {
|
|
|
|
|
this.monitorName = monitorName;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public String getWorkUnitName() {
|
|
|
|
|
return workUnitName;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public void setWorkUnitName(String workUnitName) {
|
|
|
|
|
this.workUnitName = workUnitName;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public void setObjId(Long objId) {
|
|
|
|
|
this.objId = objId;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public Long getObjId()
|
|
|
|
|
{
|
|
|
|
|
public Long getObjId() {
|
|
|
|
|
return objId;
|
|
|
|
|
}
|
|
|
|
|
public void setMonitorCode(String monitorCode)
|
|
|
|
|
{
|
|
|
|
|
|
|
|
|
|
public void setMonitorCode(String monitorCode) {
|
|
|
|
|
this.monitorCode = monitorCode;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public String getMonitorCode()
|
|
|
|
|
{
|
|
|
|
|
public String getMonitorCode() {
|
|
|
|
|
return monitorCode;
|
|
|
|
|
}
|
|
|
|
|
public void setWorkUnitCode(String workUnitCode)
|
|
|
|
|
{
|
|
|
|
|
|
|
|
|
|
public void setWorkUnitCode(String workUnitCode) {
|
|
|
|
|
this.workUnitCode = workUnitCode;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public String getWorkUnitCode()
|
|
|
|
|
{
|
|
|
|
|
public String getWorkUnitCode() {
|
|
|
|
|
return workUnitCode;
|
|
|
|
|
}
|
|
|
|
|
public void setMonitorStatus(Long monitorStatus)
|
|
|
|
|
{
|
|
|
|
|
|
|
|
|
|
public void setMonitorStatus(Long monitorStatus) {
|
|
|
|
|
this.monitorStatus = monitorStatus;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public Long getMonitorStatus()
|
|
|
|
|
{
|
|
|
|
|
public Long getMonitorStatus() {
|
|
|
|
|
return monitorStatus;
|
|
|
|
|
}
|
|
|
|
|
public void setMonitorType(Long monitorType)
|
|
|
|
|
{
|
|
|
|
|
|
|
|
|
|
public void setMonitorType(Long monitorType) {
|
|
|
|
|
this.monitorType = monitorType;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public Long getMonitorType()
|
|
|
|
|
{
|
|
|
|
|
public Long getMonitorType() {
|
|
|
|
|
return monitorType;
|
|
|
|
|
}
|
|
|
|
|
public void setFormulaMode(Long formulaMode)
|
|
|
|
|
{
|
|
|
|
|
|
|
|
|
|
public void setFormulaMode(Long formulaMode) {
|
|
|
|
|
this.formulaMode = formulaMode;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public Long getFormulaMode()
|
|
|
|
|
{
|
|
|
|
|
public Long getFormulaMode() {
|
|
|
|
|
return formulaMode;
|
|
|
|
|
}
|
|
|
|
|
public void setProportion(Long proportion)
|
|
|
|
|
{
|
|
|
|
|
|
|
|
|
|
public void setProportion(Long proportion) {
|
|
|
|
|
this.proportion = proportion;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public Long getProportion()
|
|
|
|
|
{
|
|
|
|
|
public Long getProportion() {
|
|
|
|
|
return proportion;
|
|
|
|
|
}
|
|
|
|
|
public void setIsFlag(Long isFlag)
|
|
|
|
|
{
|
|
|
|
|
|
|
|
|
|
public void setIsFlag(Long isFlag) {
|
|
|
|
|
this.isFlag = isFlag;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public Long getIsFlag()
|
|
|
|
|
{
|
|
|
|
|
public Long getIsFlag() {
|
|
|
|
|
return isFlag;
|
|
|
|
|
}
|
|
|
|
|
public void setCreatedBy(String createdBy)
|
|
|
|
|
{
|
|
|
|
|
|
|
|
|
|
public void setCreatedBy(String createdBy) {
|
|
|
|
|
this.createdBy = createdBy;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public String getCreatedBy()
|
|
|
|
|
{
|
|
|
|
|
public String getCreatedBy() {
|
|
|
|
|
return createdBy;
|
|
|
|
|
}
|
|
|
|
|
public void setCreatedTime(Date createdTime)
|
|
|
|
|
{
|
|
|
|
|
|
|
|
|
|
public void setCreatedTime(Date createdTime) {
|
|
|
|
|
this.createdTime = createdTime;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public Date getCreatedTime()
|
|
|
|
|
{
|
|
|
|
|
public Date getCreatedTime() {
|
|
|
|
|
return createdTime;
|
|
|
|
|
}
|
|
|
|
|
public void setUpdatedBy(String updatedBy)
|
|
|
|
|
{
|
|
|
|
|
|
|
|
|
|
public void setUpdatedBy(String updatedBy) {
|
|
|
|
|
this.updatedBy = updatedBy;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public String getUpdatedBy()
|
|
|
|
|
{
|
|
|
|
|
public String getUpdatedBy() {
|
|
|
|
|
return updatedBy;
|
|
|
|
|
}
|
|
|
|
|
public void setUpdatedTime(Date updatedTime)
|
|
|
|
|
{
|
|
|
|
|
|
|
|
|
|
public void setUpdatedTime(Date updatedTime) {
|
|
|
|
|
this.updatedTime = updatedTime;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public Date getUpdatedTime()
|
|
|
|
|
{
|
|
|
|
|
public Date getUpdatedTime() {
|
|
|
|
|
return updatedTime;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@Override
|
|
|
|
|
public String toString(){
|
|
|
|
|
return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
|
|
|
|
|
.append("objId",getObjId())
|
|
|
|
|
.append("monitorCode",getMonitorCode())
|
|
|
|
|
.append("workUnitCode",getWorkUnitCode())
|
|
|
|
|
.append("monitorStatus",getMonitorStatus())
|
|
|
|
|
.append("monitorType",getMonitorType())
|
|
|
|
|
.append("formulaMode",getFormulaMode())
|
|
|
|
|
.append("proportion",getProportion())
|
|
|
|
|
.append("remark",getRemark())
|
|
|
|
|
.append("isFlag",getIsFlag())
|
|
|
|
|
.append("createdBy",getCreatedBy())
|
|
|
|
|
.append("createdTime",getCreatedTime())
|
|
|
|
|
.append("updatedBy",getUpdatedBy())
|
|
|
|
|
.append("updatedTime",getUpdatedTime())
|
|
|
|
|
@Override
|
|
|
|
|
public String toString() {
|
|
|
|
|
return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
|
|
|
|
|
.append("objId", getObjId())
|
|
|
|
|
.append("monitorCode", getMonitorCode())
|
|
|
|
|
.append("workUnitCode", getWorkUnitCode())
|
|
|
|
|
.append("monitorStatus", getMonitorStatus())
|
|
|
|
|
.append("monitorType", getMonitorType())
|
|
|
|
|
.append("formulaMode", getFormulaMode())
|
|
|
|
|
.append("proportion", getProportion())
|
|
|
|
|
.append("remark", getRemark())
|
|
|
|
|
.append("isFlag", getIsFlag())
|
|
|
|
|
.append("createdBy", getCreatedBy())
|
|
|
|
|
.append("createdTime", getCreatedTime())
|
|
|
|
|
.append("updatedBy", getUpdatedBy())
|
|
|
|
|
.append("updatedTime", getUpdatedTime())
|
|
|
|
|
.toString();
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|