package com.palmnest.model.notice;

import java.io.Serializable;
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;

@Entity
@Table(name = "tb_wxtemplate_config_para")
public class WxtemplateConfigPara implements Serializable {

	/**
	 *
	 */
	private static final long serialVersionUID = -2091831585681284058L;

	private int    id;
	private int    type_id;
	private int    message_id;
	private String name;
	private String param_key;
	private String value;


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

	public int getType_id() {
		return type_id;
	}

	public void setType_id(int type_id) {
		this.type_id = type_id;
	}

	public int getMessage_id() {
		return message_id;
	}

	public void setMessage_id(int message_id) {
		this.message_id = message_id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getParam_key() {
		return param_key;
	}

	public void setParam_key(String param_key) {
		this.param_key = param_key;
	}

	public String getValue() {
		return value;
	}

	public void setValue(String value) {
		this.value = value;
	}


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

	@Override
	public String toString() {
		return "WxtemplateConfigPara [id=" + id + ", type_id=" + type_id + ", message_id=" + message_id + ", name="
				+ name + ", param_key=" + param_key + ", value=" + value + "]";
	}

}