package com.ruoyi.ems.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 能源设备对象 adm_ems_device
 * 
 * @author ruoyi
 * @date 2024-07-10
 */
public class EmsDevice extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 序号 */
    private Long id;

    /** 设备代码 */
    @Excel(name = "设备代码")
    private String deviceCode;

    /** 设备名称 */
    @Excel(name = "设备名称")
    private String deviceName;

    /** 设备类型 */
    private Long deviceType;

    /** 设备类型名称 */
    @Excel(name = "设备类型")
    private String deviceTypeName;

    /** 设备状态 */
    @Excel(name = "设备状态")
    private Long deviceStatus;

    /** 区域类型 */
    private String areaType;

    /** 归属区域代码 */
    private String refArea;

    /** 归属区域名称 */
    @Excel(name = "归属区域")
    private String refAreaName;

    /** 归属设施代码 */
    private String refFacs;

    /** 归属设施名称 */
    @Excel(name = "归属设施")
    private String refFacsName;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setDeviceCode(String deviceCode) 
    {
        this.deviceCode = deviceCode;
    }

    public String getDeviceCode() 
    {
        return deviceCode;
    }
    public void setDeviceName(String deviceName) 
    {
        this.deviceName = deviceName;
    }

    public String getDeviceName() 
    {
        return deviceName;
    }
    public void setDeviceType(Long deviceType) 
    {
        this.deviceType = deviceType;
    }

    public Long getDeviceType() 
    {
        return deviceType;
    }

    public String getDeviceTypeName() {
        return deviceTypeName;
    }

    public void setDeviceTypeName(String deviceTypeName) {
        this.deviceTypeName = deviceTypeName;
    }

    public void setDeviceStatus(Long deviceStatus)
    {
        this.deviceStatus = deviceStatus;
    }

    public Long getDeviceStatus() 
    {
        return deviceStatus;
    }

    public String getAreaType() {
        return areaType;
    }

    public void setAreaType(String areaType) {
        this.areaType = areaType;
    }

    public void setRefArea(String refArea)
    {
        this.refArea = refArea;
    }

    public String getRefArea() 
    {
        return refArea;
    }
    public void setRefFacs(String refFacs) 
    {
        this.refFacs = refFacs;
    }

    public String getRefFacs() 
    {
        return refFacs;
    }

    public String getRefAreaName() {
        return refAreaName;
    }

    public void setRefAreaName(String refAreaName) {
        this.refAreaName = refAreaName;
    }

    public String getRefFacsName() {
        return refFacsName;
    }

    public void setRefFacsName(String refFacsName) {
        this.refFacsName = refFacsName;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("deviceCode", getDeviceCode())
            .append("deviceName", getDeviceName())
            .append("deviceType", getDeviceType())
            .append("deviceTypeName", getDeviceTypeName())
            .append("deviceStatus", getDeviceStatus())
            .append("areaType", getAreaType())
            .append("refArea", getRefArea())
            .append("refFacs", getRefFacs())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
