package com.iamberry.wechat.core.entity.member;

import java.io.Serializable;
import java.util.Date;

import org.springframework.format.annotation.DateTimeFormat;

import com.alibaba.dubbo.container.page.Page;
import com.fasterxml.jackson.annotation.JsonFormat;
/**
 * 
 *		description: 微代理提现记录实体类
 * 	   		@author: 张应真
 *	    @createDate: 2016年4月19日
 */
public class Withdraw implements Serializable{
	/**
	 * 
	 */
	private static final long serialVersionUID = -3434880654377628921L;
	private Integer withdrawalsLogsId;						//ID
	private String withdrawalsOpenid;						//用户ID
	private Integer withdrawalsLogsIntegralNum;				//兑换积分
	private Integer withdrawalsLogsAmount;					//积分换算人民币
	
	@DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")  
	@JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
	private Date withdrawalsLogsDate;						//兑换时间
	private String withdrawalsUsername;						//兑换人姓名
	private String withdrawalsTel;							//对换人电话
	private Integer withdrawalsStatus;						//状态	1:兑换成功 2:处理中 3:兑换失败
	private String withdrawalsCardNo;						//提现人卡号
	private String withdrawalsBankName;						//提现人卡号所属银行
	private String withdrawalsRemark; 						//提款备注
	
	private String sumMoney; 						//总金额
	
	
	private Page page;						//分页

	public Page getPage() {
		return page;
	}

	public void setPage(Page page) {
		this.page = page;
	}

	public Withdraw() {
		super();
		// TODO Auto-generated constructor stub
	}
	
	public Withdraw(Integer withdrawalsLogsId, String withdrawalsOpenid,
			Integer withdrawalsLogsIntegralNum, Integer withdrawalsLogsAmount,
			Date withdrawalsLogsDate, String withdrawalsUsername,
			String withdrawalsTel, Integer withdrawalsStatus) {
		super();
		this.withdrawalsLogsId = withdrawalsLogsId;
		this.withdrawalsOpenid = withdrawalsOpenid;
		this.withdrawalsLogsIntegralNum = withdrawalsLogsIntegralNum;
		this.withdrawalsLogsAmount = withdrawalsLogsAmount;
		this.withdrawalsLogsDate = withdrawalsLogsDate;
		this.withdrawalsUsername = withdrawalsUsername;
		this.withdrawalsTel = withdrawalsTel;
		this.withdrawalsStatus = withdrawalsStatus;
	}


	
	
	public String getSumMoney() {
		return sumMoney;
	}

	public void setSumMoney(String sumMoney) {
		this.sumMoney = sumMoney;
	}

	public Integer getWithdrawalsLogsId() {
		return withdrawalsLogsId;
	}


	public void setWithdrawalsLogsId(Integer withdrawalsLogsId) {
		this.withdrawalsLogsId = withdrawalsLogsId;
	}


	public String getWithdrawalsOpenid() {
		return withdrawalsOpenid;
	}


	public void setWithdrawalsOpenid(String withdrawalsOpenid) {
		this.withdrawalsOpenid = withdrawalsOpenid;
	}


	public Integer getWithdrawalsLogsIntegralNum() {
		return withdrawalsLogsIntegralNum;
	}


	public void setWithdrawalsLogsIntegralNum(Integer withdrawalsLogsIntegralNum) {
		this.withdrawalsLogsIntegralNum = withdrawalsLogsIntegralNum;
	}


	public Integer getWithdrawalsLogsAmount() {
		return withdrawalsLogsAmount;
	}


	public void setWithdrawalsLogsAmount(Integer withdrawalsLogsAmount) {
		this.withdrawalsLogsAmount = withdrawalsLogsAmount;
	}


	public Date getWithdrawalsLogsDate() {
		return withdrawalsLogsDate;
	}


	public void setWithdrawalsLogsDate(Date withdrawalsLogsDate) {
		this.withdrawalsLogsDate = withdrawalsLogsDate;
	}


	public String getWithdrawalsUsername() {
		return withdrawalsUsername;
	}


	public void setWithdrawalsUsername(String withdrawalsUsername) {
		this.withdrawalsUsername = withdrawalsUsername;
	}


	public String getWithdrawalsTel() {
		return withdrawalsTel;
	}


	public void setWithdrawalsTel(String withdrawalsTel) {
		this.withdrawalsTel = withdrawalsTel;
	}


	public Integer getWithdrawalsStatus() {
		return withdrawalsStatus;
	}


	public void setWithdrawalsStatus(Integer withdrawalsStatus) {
		this.withdrawalsStatus = withdrawalsStatus;
	}
	public String getWithdrawalsCardNo() {
		return withdrawalsCardNo;
	}
	public void setWithdrawalsCardNo(String withdrawalsCardNo) {
		this.withdrawalsCardNo = withdrawalsCardNo;
	}
	public String getWithdrawalsBankName() {
		return withdrawalsBankName;
	}
	public void setWithdrawalsBankName(String withdrawalsBankName) {
		this.withdrawalsBankName = withdrawalsBankName;
	}
	
	
	

	public String getWithdrawalsRemark() {
		return withdrawalsRemark;
	}


	public void setWithdrawalsRemark(String withdrawalsRemark) {
		this.withdrawalsRemark = withdrawalsRemark;
	}

	@Override
	public String toString() {
		return "Withdraw [withdrawalsLogsId=" + withdrawalsLogsId
				+ ", withdrawalsOpenid=" + withdrawalsOpenid
				+ ", withdrawalsLogsIntegralNum=" + withdrawalsLogsIntegralNum
				+ ", withdrawalsLogsAmount=" + withdrawalsLogsAmount
				+ ", withdrawalsLogsDate=" + withdrawalsLogsDate
				+ ", withdrawalsUsername=" + withdrawalsUsername
				+ ", withdrawalsTel=" + withdrawalsTel + ", withdrawalsStatus="
				+ withdrawalsStatus + "]";
	}
} 
