package org.well.well.domain;

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

@Entity
@Table(name = "bus_well_info")
public class BusWell implements Serializable {


	@Id
	@Column(name = "ID")
	@GeneratedValue(strategy = GenerationType.IDENTITY)
	private Long id;
	/**
	 * 井盖编号
	 */
	@Column(name ="WELL_CODE")
	private String wellCode;
	/**
	 * 井盖名称
	 */
	@Column(name ="WELL_NAME")
	private String wellName;
	/**
	 * 井深
	 */
	@Column(name ="DEEP")
	private Float deep;
	/**
	 * 第三方坐标系X
	 */
	@Column(name ="COORDINATE_X")
	private String coordinateX;
	/**
	 * 第三方坐标Y
	 */
	@Column(name ="COORDINATE_Y")
	private String coordinateY;
	/**
	 * 百度纬度
	 */
	@Column(name ="LAT_BAIDU")
	private String latBaidu;
	/**
	 * 百度经度
	 */
	@Column(name ="LNG_BAIDU")
	private String lngBaidu;
	/**
	 * 高德经度
	 */
	@Column(name ="LNG_GAODE")
	private String lngGaode;
	/**
	 * 高德纬度
	 */
	@Column(name ="LAT_GAODE")
	private String latGaode;
	/**
	 * 区域
	 */
	@Column(name ="AREA")
	private String area;
	/**
	 * 位置
	 */
	@Column(name ="POSITION")
	private String position;
	/**
	 * 部门编号
	 */
	@Column(name ="DEPTID")
	private String deptid;

	/**
	 * 部门编号
	 */
	@Column(name ="RESPONSIBLE_DEPT")
	private String responsibleDeptid;



	/**
	 * 路标图片路径集合
	 */
	@Column(name ="PHOTOS")
	private String photos;
	/**
	 * 备注
	 */
	@Column(name ="NOTES")
	private String notes;
	/**
	 * 井类型
	 */
	@Column(name ="WELL_TYPE")
	private String wellType;
	/**
	 * 责任人
	 */
	@Column(name ="STAFF")
	private String staff;
	/**
	 * 电话
	 */
	@Column(name ="TEL")
	private String tel;
	/**
	 * 时间戳
	 */
	@Column(name ="TS")
	private Date ts;
	/**
	 * 是否有效
	 */
	@Column(name ="VALID")
	private String valid;
	/**
	 * 布防状态
	 */
	@Column(name ="BFZT")
	private String bfzt;


	public Long getId() {
		return id;
	}

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

	public String getWellCode() {
		return wellCode;
	}

	public void setWellCode(String wellCode) {
		this.wellCode = wellCode;
	}

	public String getWellName() {
		return wellName;
	}

	public void setWellName(String wellName) {
		this.wellName = wellName;
	}

	public Float getDeep() {
		return deep;
	}

	public void setDeep(Float deep) {
		this.deep = deep;
	}

	public String getCoordinateX() {
		return coordinateX;
	}

	public void setCoordinateX(String coordinateX) {
		this.coordinateX = coordinateX;
	}

	public String getCoordinateY() {
		return coordinateY;
	}

	public void setCoordinateY(String coordinateY) {
		this.coordinateY = coordinateY;
	}

	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 getLngGaode() {
		return lngGaode;
	}

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

	public String getLatGaode() {
		return latGaode;
	}

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

	public String getArea() {
		return area;
	}

	public void setArea(String area) {
		this.area = area;
	}

	public String getPosition() {
		return position;
	}

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

	public String getDeptid() {
		return deptid;
	}

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

	public String getPhotos() {
		return photos;
	}

	public void setPhotos(String photos) {
		this.photos = photos;
	}

	public String getNotes() {
		return notes;
	}

	public void setNotes(String notes) {
		this.notes = notes;
	}

	public String getWellType() {
		return wellType;
	}

	public void setWellType(String wellType) {
		this.wellType = wellType;
	}

	public String getStaff() {
		return staff;
	}

	public void setStaff(String staff) {
		this.staff = staff;
	}

	public String getTel() {
		return tel;
	}

	public void setTel(String tel) {
		this.tel = tel;
	}

	public Date getTs() {
		return ts;
	}

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

	public String getValid() {
		return valid;
	}

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

	public String getBfzt() {
		return bfzt;
	}

	public void setBfzt(String bfzt) {
		this.bfzt = bfzt;
	}


	public String getResponsibleDeptid() {
		return responsibleDeptid;
	}

	public void setResponsibleDeptid(String responsibleDeptid) {
		this.responsibleDeptid = responsibleDeptid;
	}

	public BusWell() {

	}

	public BusWell(String devCode, String desc, String status, Date logtime) {
//		this.devCode = devCode;
//		this.desc = desc;
//		this.status = status;
//		this.logtime = logtime;
	}
}
