You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

295 lines
6.5 KiB
Java

1 year ago
package com.ruoyi.base.domain;
import java.math.BigDecimal;
import java.util.ArrayList;
1 year ago
import java.util.Date;
import java.util.List;
1 year ago
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
/**
* base_busbar_info
*
1 year ago
* @author zangch
* @date 2024-10-31
*/
public class BaseBusbarInfo extends BaseEntity
{
private static final long serialVersionUID = 1L;
/** 标识编号 */
@Excel(name = "标识编号")
private Long objId;
/** 母排编号 */
@Excel(name = "母排编号")
private Long busbarCode;
/** 母排别名 */
@Excel(name = "母排别名")
private String busbarAlias;
/** 电柜编号 */
@Excel(name = "电柜编号")
private Long cabinetCode;
/** 母排距离 */
@Excel(name = "母排距离")
private BigDecimal busbarDist;
/** 是否检测:1-是;0-否 */
@Excel(name = "是否检测:1-是;0-否")
private Long isChecked;
/** 是否尾排:1-是;0-否 */
@Excel(name = "是否尾排:1-是;0-否")
private Long isEnd;
/** 是否启用:1-是;0-否 */
@Excel(name = "是否启用:1-是;0-否")
private Long isFlag;
/** 创建人 */
@Excel(name = "创建人")
private String createdBy;
/** 创建时间 */
@JsonFormat(pattern = "yyyy-MM-dd")
@Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
private Date createdTime;
/** 更新人 */
@Excel(name = "更新人")
private String updatedBy;
/** 更新时间 */
@JsonFormat(pattern = "yyyy-MM-dd")
@Excel(name = "更新时间", width = 30, dateFormat = "yyyy-MM-dd")
private Date updatedTime;
/** 是否拍照:1-是;0-否 */
@Excel(name = "是否拍照:1-是;0-否")
private Long isPictures;
1 year ago
/** 坐标P */
@Excel(name = "坐标P")
private String wPanPos;
/** 坐标T */
@Excel(name = "坐标T")
private String wTiltPos;
/** 坐标Z */
@Excel(name = "坐标Z")
private String wZoomPos;
/** 是否旋转:1-是0-否 */
@Excel(name = "是否旋转:1-是0-否")
private Long isRotate;
/** 是否快速巡检:0-否1-是 */
@Excel(name = "是否快速巡检:0-否1-是")
private Long isInsp;
List<BaseBusbarInfo> children = new ArrayList<BaseBusbarInfo>();
public void setObjId(Long objId)
1 year ago
{
this.objId = objId;
}
public Long getObjId()
1 year ago
{
return objId;
}
public void setBusbarCode(Long busbarCode)
1 year ago
{
this.busbarCode = busbarCode;
}
public Long getBusbarCode()
1 year ago
{
return busbarCode;
}
public void setBusbarAlias(String busbarAlias)
1 year ago
{
this.busbarAlias = busbarAlias;
}
public String getBusbarAlias()
1 year ago
{
return busbarAlias;
}
public void setCabinetCode(Long cabinetCode)
1 year ago
{
this.cabinetCode = cabinetCode;
}
public Long getCabinetCode()
1 year ago
{
return cabinetCode;
}
public void setBusbarDist(BigDecimal busbarDist)
1 year ago
{
this.busbarDist = busbarDist;
}
public BigDecimal getBusbarDist()
1 year ago
{
return busbarDist;
}
public void setIsChecked(Long isChecked)
1 year ago
{
this.isChecked = isChecked;
}
public Long getIsChecked()
1 year ago
{
return isChecked;
}
public void setIsEnd(Long isEnd)
1 year ago
{
this.isEnd = isEnd;
}
public Long getIsEnd()
1 year ago
{
return isEnd;
}
public void setIsFlag(Long isFlag)
1 year ago
{
this.isFlag = isFlag;
}
public Long getIsFlag()
1 year ago
{
return isFlag;
}
public void setCreatedBy(String createdBy)
1 year ago
{
this.createdBy = createdBy;
}
public String getCreatedBy()
1 year ago
{
return createdBy;
}
public void setCreatedTime(Date createdTime)
1 year ago
{
this.createdTime = createdTime;
}
public Date getCreatedTime()
1 year ago
{
return createdTime;
}
public void setUpdatedBy(String updatedBy)
1 year ago
{
this.updatedBy = updatedBy;
}
public String getUpdatedBy()
1 year ago
{
return updatedBy;
}
public void setUpdatedTime(Date updatedTime)
1 year ago
{
this.updatedTime = updatedTime;
}
public Date getUpdatedTime()
1 year ago
{
return updatedTime;
}
public void setIsPictures(Long isPictures)
{
this.isPictures = isPictures;
}
1 year ago
public Long getIsPictures()
{
return isPictures;
}
public void setwPanPos(String wPanPos)
{
this.wPanPos = wPanPos;
}
public String getwPanPos()
{
return wPanPos;
}
public void setwTiltPos(String wTiltPos)
{
this.wTiltPos = wTiltPos;
}
public String getwTiltPos()
{
return wTiltPos;
}
public void setwZoomPos(String wZoomPos)
{
this.wZoomPos = wZoomPos;
}
public String getwZoomPos()
{
return wZoomPos;
}
public void setIsRotate(Long isRotate)
{
this.isRotate = isRotate;
}
public Long getIsRotate()
{
return isRotate;
}
public Long getIsInsp() {
return isInsp;
}
public void setIsInsp(Long isInsp) {
this.isInsp = isInsp;
}
public List<BaseBusbarInfo> getChildren() {
return children;
}
public void setChildren(List<BaseBusbarInfo> children) {
this.children = children;
}
1 year ago
@Override
public String toString() {
return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
.append("objId", getObjId())
.append("busbarCode", getBusbarCode())
.append("busbarAlias", getBusbarAlias())
.append("cabinetCode", getCabinetCode())
.append("busbarDist", getBusbarDist())
.append("isChecked", getIsChecked())
.append("isEnd", getIsEnd())
.append("isFlag", getIsFlag())
.append("remark", getRemark())
.append("createdBy", getCreatedBy())
.append("createdTime", getCreatedTime())
.append("updatedBy", getUpdatedBy())
.append("updatedTime", getUpdatedTime())
.append("isPictures", getIsPictures())
.append("wPanPos", getwPanPos())
.append("wTiltPos", getwTiltPos())
.append("wZoomPos", getwZoomPos())
.append("isRotate", getIsRotate())
.append("isInsp", getIsInsp())
1 year ago
.toString();
}
}