package com.casic.dcms.bean;

import org.greenrobot.greendao.annotation.Entity;
import org.greenrobot.greendao.annotation.Generated;
import org.greenrobot.greendao.annotation.Id;

/**
 * 路灯数据本地持久化实体类
 */
@Entity
public class LightLocalBean {
    @Id(autoincrement = true)
    private Long id;//主键ID

    private String controllerCode;
    private String lampCode;
    private String lampId;
    private double latitude;
    private String deptId;
    private String statusName;
    private String lampName;
    private String latestTime;
    private double longitude;
    private String status;

    @Generated(hash = 58218675)
    public LightLocalBean(Long id, String controllerCode, String lampCode,
                          String lampId, double latitude, String deptId, String statusName,
                          String lampName, String latestTime, double longitude, String status) {
        this.id = id;
        this.controllerCode = controllerCode;
        this.lampCode = lampCode;
        this.lampId = lampId;
        this.latitude = latitude;
        this.deptId = deptId;
        this.statusName = statusName;
        this.lampName = lampName;
        this.latestTime = latestTime;
        this.longitude = longitude;
        this.status = status;
    }

    @Generated(hash = 1396711556)
    public LightLocalBean() {
    }

    public Long getId() {
        return this.id;
    }

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

    public String getControllerCode() {
        return this.controllerCode;
    }

    public void setControllerCode(String controllerCode) {
        this.controllerCode = controllerCode;
    }

    public String getLampCode() {
        return this.lampCode;
    }

    public void setLampCode(String lampCode) {
        this.lampCode = lampCode;
    }

    public String getLampId() {
        return this.lampId;
    }

    public void setLampId(String lampId) {
        this.lampId = lampId;
    }

    public double getLatitude() {
        return this.latitude;
    }

    public void setLatitude(double latitude) {
        this.latitude = latitude;
    }

    public String getDeptId() {
        return this.deptId;
    }

    public void setDeptId(String deptId) {
        this.deptId = deptId;
    }

    public String getStatusName() {
        return this.statusName;
    }

    public void setStatusName(String statusName) {
        this.statusName = statusName;
    }

    public String getLampName() {
        return this.lampName;
    }

    public void setLampName(String lampName) {
        this.lampName = lampName;
    }

    public String getLatestTime() {
        return this.latestTime;
    }

    public void setLatestTime(String latestTime) {
        this.latestTime = latestTime;
    }

    public double getLongitude() {
        return this.longitude;
    }

    public void setLongitude(double longitude) {
        this.longitude = longitude;
    }

    public String getStatus() {
        return this.status;
    }

    public void setStatus(String status) {
        this.status = status;
    }
}
