package com.palmnest.model.mealcard;

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

/**
 * @Author wangxz
 * @Description 企业饭卡登录用户信息实体
 * @Date 2019/06/14 10:52
 **/
@Entity
@Table(name = "tb_meal_card_user")
public class MealCardUser implements Serializable {

	private static final long serialVersionUID = -244021384739708103L;

	private Long    id;
	private Integer orgId;
	private String  developId;
	private String  openId;
	private Integer wxUserId;
	private String  mobile;
	private Date    createTime;
	private Integer isEnable;

	@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 Integer getOrgId() {
		return orgId;
	}

	public void setOrgId(Integer orgId) {
		this.orgId = orgId;
	}

	public String getDevelopId() {
		return developId;
	}

	public void setDevelopId(String developId) {
		this.developId = developId;
	}

	public String getOpenId() {
		return openId;
	}

	public void setOpenId(String openId) {
		this.openId = openId;
	}

	public String getMobile() {
		return mobile;
	}

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

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public Integer getIsEnable() {
		return isEnable;
	}

	public void setIsEnable(Integer isEnable) {
		this.isEnable = isEnable;
	}

	public Integer getWxUserId() {
		return wxUserId;
	}

	public void setWxUserId(Integer wxUserId) {
		this.wxUserId = wxUserId;
	}
}
