package org.well.well.domain;

import javax.persistence.*;
import java.util.Date;

@Entity
@Table(name = "bus_concentrator")
public class Concentrator
{
    @Id
    @GeneratedValue(strategy = GenerationType.IDENTITY)
    @Column(name = "ID")
    private Long id;
    /**
     * 集中器编码
     */
    @Column(name ="CONCENCODE")
    private String concencode;
    /**
     * SIM卡号
     */
    @Column(name ="SIMID")
    private String simid;
    /**
     * 部门
     */
    @Column(name ="DEPTID")
    private Long deptid;
    /**
     * 集中器位置
     */
    @Column(name ="POSITION")
    private String position;
    /**
     * 纬度
     */
    @Column(name ="LAT")
    private String lat;
    /**
     * 经度
     */
    @Column(name ="LNG")
    private String lng;
    /**
     * 百度地图纬度
     */
    @Column(name ="LAT_BAIDU")
    private String latBaidu;
    /**
     * 百度地图经度
     */
    @Column(name ="LNG_BAIDU")
    private String lngBaidu;
    /**
     * 高德地图纬度
     */
    @Column(name ="LAT_GAODE")
    private String latGaode;
    /**
     * 高德地图经度
     */
    @Column(name ="LNG_GAODE")
    private String lngGaode;
    /**
     * 照片路径
     */
    @Column(name ="PHOTO")
    private String photo;
    /**
     * 状态
     */
    @Column(name ="STATUS")
    private String status;
    /**
     * 最后上传时间
     */
    @Column(name ="LASTTIME")
    private Date lasttime;
    /**
     * 是否有效
     */
    @Column(name ="VALID")
    private String valid;
    /**
     * 启用时间
     */
    @Column(name ="SETUPDATE")
    private Date setupdate;
    /**
     * 时间戳
     */
    @Column(name ="TS")
    private Date ts;

    public Long getId() {
        return id;
    }

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

    public String getConcencode() {
        return concencode;
    }

    public void setConcencode(String concencode) {
        this.concencode = concencode;
    }

    public String getSimid() {
        return simid;
    }

    public void setSimid(String simid) {
        this.simid = simid;
    }

    public Long getDeptid() {
        return deptid;
    }

    public void setDeptid(Long deptid) {
        this.deptid = deptid;
    }

    public String getPosition() {
        return position;
    }

    public void setPosition(String position) {
        this.position = position;
    }

    public String getLat() {
        return lat;
    }

    public void setLat(String lat) {
        this.lat = lat;
    }

    public String getLng() {
        return lng;
    }

    public void setLng(String lng) {
        this.lng = lng;
    }

    public String getLatBaidu() {
        return latBaidu;
    }

    public void setLatBaidu(String latBaidu) {
        this.latBaidu = latBaidu;
    }

    public String getLngBaidu() {
        return lngBaidu;
    }

    public void setLngBaidu(String lngBaidu) {
        this.lngBaidu = lngBaidu;
    }

    public String getLatGaode() {
        return latGaode;
    }

    public void setLatGaode(String latGaode) {
        this.latGaode = latGaode;
    }

    public String getLngGaode() {
        return lngGaode;
    }

    public void setLngGaode(String lngGaode) {
        this.lngGaode = lngGaode;
    }

    public String getPhoto() {
        return photo;
    }

    public void setPhoto(String photo) {
        this.photo = photo;
    }

    public String getStatus() {
        return status;
    }

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

    public Date getLasttime() {
        return lasttime;
    }

    public void setLasttime(Date lasttime) {
        this.lasttime = lasttime;
    }

    public String getValid() {
        return valid;
    }

    public void setValid(String valid) {
        this.valid = valid;
    }

    public Date getSetupdate() {
        return setupdate;
    }

    public void setSetupdate(Date setupdate) {
        this.setupdate = setupdate;
    }

    public Date getTs() {
        return ts;
    }

    public void setTs(Date ts) {
        this.ts = ts;
    }
}