package com.zc.business.domain; 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; /** * 【请填写功能名称】对象 device * * @author ruoyi * @date 2024-01-20 */ public class Device extends BaseEntity { private static final long serialVersionUID = 1L; /** 设备ID */ private Long id; /** 设备桩号 */ @Excel(name = "设备桩号") private String deviceNo; /** 设备名称 */ @Excel(name = "设备名称") private String deviceName; /** 设备IP */ @Excel(name = "设备IP") private String deviceIp; /** 方向 */ @Excel(name = "方向") private String direction; /** 厂家 */ @Excel(name = "厂家") private String production; /** 型号 */ @Excel(name = "型号") private String model; /** 网段 */ @Excel(name = "网段") private String network; /** 备注 */ @Excel(name = "备注") private String content; /** 设备类型 */ @Excel(name = "设备类型") private String type; public void setId(Long id) { this.id = id; } public Long getId() { return id; } public void setDeviceNo(String deviceNo) { this.deviceNo = deviceNo; } public String getDeviceNo() { return deviceNo; } public void setDeviceName(String deviceName) { this.deviceName = deviceName; } public String getDeviceName() { return deviceName; } public void setDeviceIp(String deviceIp) { this.deviceIp = deviceIp; } public String getDeviceIp() { return deviceIp; } public void setDirection(String direction) { this.direction = direction; } public String getDirection() { return direction; } public void setProduction(String production) { this.production = production; } public String getProduction() { return production; } public void setModel(String model) { this.model = model; } public String getModel() { return model; } public void setNetwork(String network) { this.network = network; } public String getNetwork() { return network; } public void setContent(String content) { this.content = content; } public String getContent() { return content; } public void setType(String type) { this.type = type; } public String getType() { return type; } @Override public String toString() { return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE) .append("id", getId()) .append("deviceNo", getDeviceNo()) .append("deviceName", getDeviceName()) .append("deviceIp", getDeviceIp()) .append("direction", getDirection()) .append("production", getProduction()) .append("model", getModel()) .append("network", getNetwork()) .append("content", getContent()) .append("type", getType()) .toString(); } }