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;

/**
 * ScTextpicvoicetemp entity.
 *
 * @author MyEclipse Persistence Tools
 */
@Entity
@Table(name = "tb_textpicvoicetemp")
public class Textpicvoicetemp implements java.io.Serializable {

	// Fields

	private Integer textPicVoiceTempId;
	private String  replyType;
	private String  replyId;
	private String  text;
	private Integer replyKeywordsId;
	private Date    createTime;

	// Constructors

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

	/**
	 * minimal constructor
	 */
	public Textpicvoicetemp(Integer textPicVoiceTempId) {
		this.textPicVoiceTempId = textPicVoiceTempId;
	}

	/**
	 * full constructor
	 */
	public Textpicvoicetemp(Integer textPicVoiceTempId, String replyType,
							String replyId, String text, Integer replyKeywordsId,
							Date createTime) {
		this.textPicVoiceTempId = textPicVoiceTempId;
		this.replyType = replyType;
		this.replyId = replyId;
		this.text = text;
		this.replyKeywordsId = replyKeywordsId;
		this.createTime = createTime;
	}

	// Property accessors
	@Id
	@GeneratedValue(strategy = GenerationType.AUTO)
	@Column(name = "TextPicVoiceTempId", unique = true, nullable = false)
	public Integer getTextPicVoiceTempId() {
		return this.textPicVoiceTempId;
	}

	public void setTextPicVoiceTempId(Integer textPicVoiceTempId) {
		this.textPicVoiceTempId = textPicVoiceTempId;
	}

	@Column(name = "ReplyType", length = 1)
	public String getReplyType() {
		return this.replyType;
	}

	public void setReplyType(String replyType) {
		this.replyType = replyType;
	}

	@Column(name = "ReplyId")
	public String getReplyId() {
		return this.replyId;
	}

	public void setReplyId(String replyId) {
		this.replyId = replyId;
	}

	@Column(name = "Text", length = 128)
	public String getText() {
		return this.text;
	}

	public void setText(String text) {
		this.text = text;
	}

	@Column(name = "ReplyKeywordsId")
	public Integer getReplyKeywordsId() {
		return this.replyKeywordsId;
	}

	public void setReplyKeywordsId(Integer replyKeywordsId) {
		this.replyKeywordsId = replyKeywordsId;
	}

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

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

}