package com.palmnest.model.estateserve;

import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Temporal;
import javax.persistence.TemporalType;

/**
 * ScFocusevent entity.
 *
 * @author MyEclipse Persistence Tools
 */
@Entity
@Table(name = "tb_wxFocusevent")
public class WxFocusevent implements java.io.Serializable {

	// Fields

	private Integer id;
	private String  developId;
	private String  openId;
	private String  eventType;
	private Date    createTime;

	// Constructors

	/**
	 * default constructor
	 */
	public WxFocusevent() {
	}

	// Property accessors
	@Id
	@GeneratedValue(strategy = GenerationType.AUTO)
	@Column(name = "ID", unique = true, nullable = false)
	public Integer getId() {
		return id;
	}

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

	@Column(name = "developId")
	public String getDevelopId() {
		return this.developId;
	}

	public void setDevelopId(String developId) {
		this.developId = developId;
	}

	@Column(name = "openId")
	public String getOpenId() {
		return this.openId;
	}

	public void setOpenId(String openId) {
		this.openId = openId;
	}

	@Column(name = "eventType", length = 20)
	public String getEventType() {
		return this.eventType;
	}

	public void setEventType(String eventType) {
		this.eventType = eventType;
	}

	@Temporal(TemporalType.TIMESTAMP)
	@Column(name = "createTime", length = 19)
	public Date getCreateTime() {
		return this.createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

}