package org.cs.web.product.model;

import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

import org.cs.core.model.BaseEntity;

/**
 * 
 * @ClassName: CulturalCentre 
 * @Description:  
 * @author: cosco gt.fan@msn.cn
 * @date: 2017-07-04 15:42:57
 */
/*@Table(name = "wx_access_token")
@Entity*/
public class WxaccessToken extends  BaseEntity  {
	
	/**   
	 * @Fields serialVersionUID : TODO(鐢ㄤ竴鍙ヨ瘽鎻忚堪杩欎釜鍙橀噺琛ㄧず浠�涔�)   
	 */   
	private static final long serialVersionUID = 5616226826191257662L;

	private String accessToken;  // 璋冪敤鎺ュ彛鍑瘉
	private String jsapiTicket;//jsapi绛惧悕鐢熸垚鐨勪竴涓睘鎬�
	private Integer expiresTn;  // 鏈夋晥鏈�
	private Date wxTime;//token鑾峰彇鏃堕棿锛� token鍜宼icket涓�璧疯幏鍙栵紝璁＄畻7000绉�
	
	@Column(name = "jsapi_ticket")
	public String getJsapiTicket() {
		return jsapiTicket;
	}
	
	public void setJsapiTicket(String jsapiTicket) {
		this.jsapiTicket = jsapiTicket;
	}
	
	@Column(name = "access_token")
	public String getAccessToken() {
		return accessToken;
	}

	public void setAccessToken(String accessToken) {
		this.accessToken = accessToken;
	}
	
	
	@Column(name = "expires_in")
	public Integer getExpiresTn() {
		return expiresTn;
	}

	public void setExpiresTn(Integer expiresTn) {
		this.expiresTn = expiresTn;
	}

	@Column(name="wx_time")
	public Date getWxTime() {
		return wxTime;
	}
	public void setWxTime(Date wxTime) {
		this.wxTime = wxTime;
	}
	
}
