package com.palmnest.model.virtfood;

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;

/**
 * 饭卡
 *
 * @author dz
 * <p>
 * 2019年5月31日
 */
@Entity
@Table(name = "tb_virt_food_person")
public class VirtFoodPerson implements Serializable {


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


	private Long   id;
	private Long   food_id;//饭卡组名称
	private String openid;//商户名称1
	private Long   org_id;//商户名称2
	private Long   virt_id;//商户名称2
	private String mobile;
	private Long   created_by;//创建人ID
	private Date   created_at;//创建时间


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

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

	public Long getCreated_by() {
		return created_by;
	}

	public void setCreated_by(Long created_by) {
		this.created_by = created_by;
	}

	public Date getCreated_at() {
		return created_at;
	}

	public void setCreated_at(Date created_at) {
		this.created_at = created_at;
	}

	public Long getFood_id() {
		return food_id;
	}

	public void setFood_id(Long food_id) {
		this.food_id = food_id;
	}

	public String getOpenid() {
		return openid;
	}

	public void setOpenid(String openid) {
		this.openid = openid;
	}

	public Long getOrg_id() {
		return org_id;
	}

	public void setOrg_id(Long org_id) {
		this.org_id = org_id;
	}

	public Long getVirt_id() {
		return virt_id;
	}

	public void setVirt_id(Long virt_id) {
		this.virt_id = virt_id;
	}

	public String getMobile() {
		return mobile;
	}

	public void setMobile(String mobile) {
		this.mobile = mobile;
	}


}
