package com.uas.platform.b2b.mobile.model;

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

/**
 * 外勤常用地址
 * 
 * @author hejq
 * @time 创建时间：2017年2月21日
 */
@Entity
@Table(name = "mobile$outaddress")
public class OutAddress implements Serializable {

	/**
	 * 序号
	 */
	private static final long serialVersionUID = 1L;

	@Id
	@GeneratedValue(strategy = GenerationType.AUTO)
	@Column(name = "oad_id")
	private Long md_id;

	/**
	 * 企业uu
	 */
	@Column(name = "oad_enuu")
	private Long enuu;

	/**
	 * 地址
	 */
	@Column(name = "oad_address")
	private String md_address;

	/**
	 * 访问时间
	 */
	@Column(name = "oad_visittime")
	private Date md_visittime;

	/**
	 * 拜访次数
	 */
	@Column(name = "oad_visitcount")
	private Integer md_visitcount;

	/**
	 * 经度
	 */
	@Column(name = "oad_longitude")
	private Double md_longitude;

	/**
	 * 纬度
	 */
	@Column(name = "oad_latitude")
	private Double md_latitude;

	/**
	 * 企业
	 */
	@Column(name = "oad_company")
	private String company;

	public Long getMd_id() {
		return md_id;
	}

	public void setMd_id(Long md_id) {
		this.md_id = md_id;
	}

	public Long getEnuu() {
		return enuu;
	}

	public void setEnuu(Long enuu) {
		this.enuu = enuu;
	}

	public String getMd_address() {
		return md_address;
	}

	public void setMd_address(String md_address) {
		this.md_address = md_address;
	}

	public Date getMd_visittime() {
		return md_visittime;
	}

	public void setMd_visittime(Date md_visittime) {
		this.md_visittime = md_visittime;
	}

	public Integer getMd_visitcount() {
		return md_visitcount;
	}

	public void setMd_visitcount(Integer md_visitcount) {
		this.md_visitcount = md_visitcount;
	}

	public String getCompany() {
		return company;
	}

	public void setCompany(String company) {
		this.company = company;
	}

	public Double getMd_longitude() {
		return md_longitude;
	}

	public void setMd_longitude(Double md_longitude) {
		this.md_longitude = md_longitude;
	}

	public Double getMd_latitude() {
		return md_latitude;
	}

	public void setMd_latitude(Double md_latitude) {
		this.md_latitude = md_latitude;
	}

}
