package com.ssj.bean.weixin.story.bean;

import com.ssj.bean.common.framework.core.domain.BaseEntity;

import javax.persistence.Entity;
import javax.persistence.Table;
import java.util.Date;


/** 
 * @author  ZhangCaibao 
 * @version 2018年3月20日 下午5:36:05 
 * 类说明  礼品兑换后收获地址
 */
@Entity
@Table(name = "tb_story_address")
public class StoryAddress extends BaseEntity{

	/**
	 * 
	 */
	private static final long serialVersionUID = -7875577136349245515L;
	
	/**
	 * 用户ID
	 */
	private String userId;
	/**
	 * 快递地址
	 */
	private String address;
	/**
	 * 图书馆名称
	 */
	private String libName;
	/**
	 * 联系方式
	 */
	private String tel;
	/**
	 * 姓名
	 */
	private String names;
	/**
	 *  创建时间
	 */
	private Date  createTime;
	/**
	 * 1到底领取，2邮寄
	 */
	private Integer type;
	/**
	 * 兑换礼品
	 */
	private String gift;
	/**
	 * 兑换消耗的积分
	 */
	private Integer integral;
	
	public String getUserId() {
		return userId;
	}
	public void setUserId(String userId) {
		this.userId = userId;
	}
	public String getAddress() {
		return address;
	}
	public void setAddress(String address) {
		this.address = address;
	}
	public String getLibName() {
		return libName;
	}
	public void setLibName(String libName) {
		this.libName = libName;
	}
	public String getTel() {
		return tel;
	}
	public void setTel(String tel) {
		this.tel = tel;
	}
	public String getNames() {
		return names;
	}
	public void setNames(String names) {
		this.names = names;
	}
	public Integer getType() {
		return type;
	}
	public void setType(Integer type) {
		this.type = type;
	}
	public Date getCreateTime() {
		return createTime;
	}
	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}
	public String getGift() {
		return gift;
	}
	public void setGift(String gift) {
		this.gift = gift;
	}
	public Integer getIntegral() {
		return integral;
	}
	public void setIntegral(Integer integral) {
		this.integral = integral;
	}
	
	
	
	

}
