package com.palmnest.model.virtfood;

import javax.persistence.*;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * 报修
 *
 * @author dz
 * <p>
 * 2019年5月31日
 */
@Entity
@Table(name = "tb_virt_food")
public class VirtFood implements Serializable {


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

	/**
	 *
	 */
	private Long   id;
	private String food_name;//饭卡组名称
	private Byte   food_type;//饭卡类型 1-通用 2-企业
	private String account_number;//账户)
	private String account_password;//账户密码
	private Long   org_id;//主项目ID
	private Long   virt_id;//企业ID-企业类型时必填
	private String card_no;//饭卡ID
	private Byte   approval_status;//1-待审核 2-审核通过 3-审核不通过,9-审核中
	private String approval_remarks;
	private Byte   enabled;//启动1 禁用2
	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 getOrg_id() {
		return org_id;
	}

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

	public String getFood_name() {
		return food_name;
	}

	public void setFood_name(String food_name) {
		this.food_name = food_name;
	}


	public String getAccount_password() {
		return account_password;
	}

	public void setAccount_password(String account_password) {
		this.account_password = account_password;
	}

	public String getAccount_number() {
		return account_number;
	}

	public void setAccount_number(String account_number) {
		this.account_number = account_number;
	}

	public String getCard_no() {
		return card_no;
	}

	public void setCard_no(String card_no) {
		this.card_no = card_no;
	}

	public Byte getApproval_status() {
		return approval_status;
	}

	public void setApproval_status(Byte approval_status) {
		this.approval_status = approval_status;
	}

	public Byte getEnabled() {
		return enabled;
	}

	public void setEnabled(Byte enabled) {
		this.enabled = enabled;
	}

	public Byte getFood_type() {
		return food_type;
	}

	public void setFood_type(Byte food_type) {
		this.food_type = food_type;
	}

	public Long getVirt_id() {
		return virt_id;
	}

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

	public String getApproval_remarks() {
		return approval_remarks;
	}

	public void setApproval_remarks(String approval_remarks) {
		this.approval_remarks = approval_remarks;
	}
}
