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

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

package com.ruoyi.base.domain;
import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;
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
*
* @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;
/** 坐标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)
{
this.objId = objId;
}
public Long getObjId()
{
return objId;
}
public void setBusbarCode(Long busbarCode)
{
this.busbarCode = busbarCode;
}
public Long getBusbarCode()
{
return busbarCode;
}
public void setBusbarAlias(String busbarAlias)
{
this.busbarAlias = busbarAlias;
}
public String getBusbarAlias()
{
return busbarAlias;
}
public void setCabinetCode(Long cabinetCode)
{
this.cabinetCode = cabinetCode;
}
public Long getCabinetCode()
{
return cabinetCode;
}
public void setBusbarDist(BigDecimal busbarDist)
{
this.busbarDist = busbarDist;
}
public BigDecimal getBusbarDist()
{
return busbarDist;
}
public void setIsChecked(Long isChecked)
{
this.isChecked = isChecked;
}
public Long getIsChecked()
{
return isChecked;
}
public void setIsEnd(Long isEnd)
{
this.isEnd = isEnd;
}
public Long getIsEnd()
{
return isEnd;
}
public void setIsFlag(Long isFlag)
{
this.isFlag = isFlag;
}
public Long getIsFlag()
{
return isFlag;
}
public void setCreatedBy(String createdBy)
{
this.createdBy = createdBy;
}
public String getCreatedBy()
{
return createdBy;
}
public void setCreatedTime(Date createdTime)
{
this.createdTime = createdTime;
}
public Date getCreatedTime()
{
return createdTime;
}
public void setUpdatedBy(String updatedBy)
{
this.updatedBy = updatedBy;
}
public String getUpdatedBy()
{
return updatedBy;
}
public void setUpdatedTime(Date updatedTime)
{
this.updatedTime = updatedTime;
}
public Date getUpdatedTime()
{
return updatedTime;
}
public void setIsPictures(Long isPictures)
{
this.isPictures = isPictures;
}
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;
}
@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())
.toString();
}
}