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_config")
public class VirtFoodConfig implements Serializable {


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


	private Long   id;
	private Long   food_id;//饭卡组名称
	private String merchant_name1;//商户名称1
	private String merchant_name2;//商户名称2
	private String merchant_name3;//商户名称2
	private String merchant_name4;//商户名称2
	private String discount1;//折扣
	private String discount2;//折扣
	private String discount3;//折扣
	private String discount4;//折扣
	private String logo1;//LOGO
	private String logo2;//LOGO
	private String logo3;//LOGO
	private String logo4;//LOGO
	private String out_url;//外链
	private Long   created_by;//创建人ID
	private Date   created_at;//创建时间
	private Long   updated_by;//更新人ID
	private Date   updated_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 getUpdated_by() {
		return updated_by;
	}

	public void setUpdated_by(Long updated_by) {
		this.updated_by = updated_by;
	}

	public Date getUpdated_at() {
		return updated_at;
	}

	public void setUpdated_at(Date updated_at) {
		this.updated_at = updated_at;
	}

	public Long getFood_id() {
		return food_id;
	}

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

	public String getMerchant_name1() {
		return merchant_name1;
	}

	public void setMerchant_name1(String merchant_name1) {
		this.merchant_name1 = merchant_name1;
	}

	public String getMerchant_name2() {
		return merchant_name2;
	}

	public void setMerchant_name2(String merchant_name2) {
		this.merchant_name2 = merchant_name2;
	}

	public String getMerchant_name3() {
		return merchant_name3;
	}

	public void setMerchant_name3(String merchant_name3) {
		this.merchant_name3 = merchant_name3;
	}

	public String getMerchant_name4() {
		return merchant_name4;
	}

	public void setMerchant_name4(String merchant_name4) {
		this.merchant_name4 = merchant_name4;
	}

	public String getDiscount1() {
		return discount1;
	}

	public void setDiscount1(String discount1) {
		this.discount1 = discount1;
	}

	public String getDiscount2() {
		return discount2;
	}

	public void setDiscount2(String discount2) {
		this.discount2 = discount2;
	}

	public String getDiscount3() {
		return discount3;
	}

	public void setDiscount3(String discount3) {
		this.discount3 = discount3;
	}

	public String getDiscount4() {
		return discount4;
	}

	public void setDiscount4(String discount4) {
		this.discount4 = discount4;
	}

	public String getLogo1() {
		return logo1;
	}

	public void setLogo1(String logo1) {
		this.logo1 = logo1;
	}

	public String getLogo2() {
		return logo2;
	}

	public void setLogo2(String logo2) {
		this.logo2 = logo2;
	}

	public String getLogo3() {
		return logo3;
	}

	public void setLogo3(String logo3) {
		this.logo3 = logo3;
	}

	public String getLogo4() {
		return logo4;
	}

	public void setLogo4(String logo4) {
		this.logo4 = logo4;
	}

	public String getOut_url() {
		return out_url;
	}

	public void setOut_url(String out_url) {
		this.out_url = out_url;
	}


}
