package com.mortals.xhx.common.pdu.device;
import com.mortals.framework.model.BaseEntityLong;
import lombok.Data;
/**
* 设备Pdu对象
*
* @author zxfei
* @date 2023-02-25
*/
@Data
public class DevicePdu extends BaseEntityLong {
    private static final long serialVersionUID = 1L;

    /**
    * 设备id
    */
    private Long deviceId;
    /**
    * 设备名称
    */
    private String deviceName;
    /**
    * 设备编码
    */
    private String deviceCode;
    /**
    * 设备的MAC地址
    */
    private String deviceMac;
    /**
    * 站点Id
    */
    private Long siteId;
    /**
    * 站点编号，来源基础服务平台
    */
    private String siteCode;
    /**
    * 站点名称
    */
    private String siteName;
    /**
    * 产品编码
    */
    private String productCode;
    /**
    * 产品名称
    */
    private String productName;
    /**
    * 设备来源(0.子设备，1.网关设备，2.直连设备)
    */
    private Integer deviceSrc;
    /**
    * 经度
    */
    private String lon;
    /**
    * 纬度
    */
    private String lati;
    /**
    * 负责人
    */
    private String leadingOfficial;
    /**
    * 联系电话
    */
    private String leadingOfficialTelephone;
    /**
    * 设备状态 (0.未激活，1.离线,2.在线)
    */
    private Integer deviceStatus;
    /**
    * 备注
    */
    private String deviceRemark;
    /**
    * 设备来源(0.旧设备，1.新设备)
    */
    private Integer source;

public void initAttrValue(){

            this.deviceId = null;

            this.deviceName = null;

            this.deviceCode = null;

            this.deviceMac = null;

            this.siteId = null;

            this.siteCode = null;

            this.siteName = null;

            this.productCode = null;

            this.productName = null;

            this.deviceSrc = 2;

            this.lon = null;

            this.lati = null;

            this.leadingOfficial = null;

            this.leadingOfficialTelephone = null;

            this.deviceStatus = null;

            this.deviceRemark = null;

            this.source = 1;
    }
}