package com.reyun.model;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;

@Entity
public class Param {
	
	private Long id;
	
	private Long callbackId;
	private Long campaignid;
	
	private String appId;
	private String key;
	private String value;
	
	public Param() {
		super();
	}
	
	public Param(Long callbackId, String appId, String key, String value) {
		this.callbackId = callbackId;
		this.appId = appId;
		this.key = key;
		this.value = value;
	}

	@Id
	@GeneratedValue
	public Long getId() {
		return id;
	}

	public Long getCampaignid() {
		return campaignid;
	}

	public void setCampaignid(Long campaignid) {
		this.campaignid = campaignid;
	}

	public void setId(Long id) {
		this.id = id;
	}
	@Column(name="callbackid")
	public Long getCallbackId() {
		return callbackId;
	}

	public void setCallbackId(Long callbackId) {
		this.callbackId = callbackId;
	}
	@Column(name="appid")
	public String getAppId() {
		return appId;
	}

	public void setAppId(String appId) {
		this.appId = appId;
	}
	@Column(name="`key`")
	public String getKey() {
		return key;
	}

	public void setKey(String key) {
		this.key = key;
	}
	@Column(name="`value`")
	public String getValue() {
		return value;
	}

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

}
