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$clockaddress")
public class ClockAddress implements Serializable {

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

	/**
	 * id
	 */
	@Id
	@GeneratedValue(strategy = GenerationType.AUTO)
	@Column(name = "cla_id")
	private Long cs_id;

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

	/**
	 * 办公地点
	 */
	@Column(name = "cla_workaddr")
	private String cs_workaddr;
	
	/**
	 * 打卡范围
	 */
	@Column(name = "cla_validrange")
	private Double cs_validrange;

	/**
	 * 经度
	 */
	@Column(name = "cla_longitude")
	private Double cs_longitude;

	/**
	 * 纬度
	 */
	@Column(name = "cla_latitude")
	private Double cs_latitude;
	
	/**
	 * 公司名称
	 */
	@Column(name = "cla_shortname")
	private String shortname;
	
	/**
	 * 编号
	 */
	@Column(name = "cla_code")
	private String cs_code;

	/**
	 * 办公范围
	 */
	@Column(name = "cla_innerdistance")
	private Double cs_innerdistance;
	
	/**
	 * 录入人
	 */
	@Column(name = "cla_recorder")
	private String cs_recorder;

	/**
	 * 记录人uu
	 */
	@Column(name = "cla_recorderuu")
	private Long emcode;

	/**
	 * 录入时间
	 */
	@Column(name = "cla_recorddate")
	private Date cs_recorddate;

	public Long getCs_id() {
		return cs_id;
	}

	public void setCs_id(Long cs_id) {
		this.cs_id = cs_id;
	}

	public Long getEnuu() {
		return enuu;
	}

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

	public String getCs_workaddr() {
		return cs_workaddr;
	}

	public void setCs_workaddr(String cs_workaddr) {
		this.cs_workaddr = cs_workaddr;
	}

	public Double getCs_validrange() {
		return cs_validrange;
	}

	public void setCs_validrange(Double cs_validrange) {
		this.cs_validrange = cs_validrange;
	}

	public String getShortname() {
		return shortname;
	}

	public void setShortname(String shortname) {
		this.shortname = shortname;
	}

	public String getCs_code() {
		return cs_code;
	}

	public void setCs_code(String cs_code) {
		this.cs_code = cs_code;
	}

	public String getCs_recorder() {
		return cs_recorder;
	}

	public void setCs_recorder(String cs_recorder) {
		this.cs_recorder = cs_recorder;
	}

	public Date getCs_recorddate() {
		return cs_recorddate;
	}

	public void setCs_recorddate(Date cs_recorddate) {
		this.cs_recorddate = cs_recorddate;
	}

	public Long getEmcode() {
		return emcode;
	}

	public void setEmcode(Long emcode) {
		this.emcode = emcode;
	}

	public Double getCs_longitude() {
		return cs_longitude;
	}

	public void setCs_longitude(Double cs_longitude) {
		this.cs_longitude = cs_longitude;
	}

	public Double getCs_latitude() {
		return cs_latitude;
	}

	public void setCs_latitude(Double cs_latitude) {
		this.cs_latitude = cs_latitude;
	}

	public Double getCs_innerdistance() {
		return cs_innerdistance;
	}

	public void setCs_innerdistance(Double cs_innerdistance) {
		this.cs_innerdistance = cs_innerdistance;
	}

}
