/*
 *      Copyright (c) 2018-2028, Chill Zhuang All rights reserved.
 *
 *  Redistribution and use in source and binary forms, with or without
 *  modification, are permitted provided that the following conditions are met:
 *
 *  Redistributions of source code must retain the above copyright notice,
 *  this list of conditions and the following disclaimer.
 *  Redistributions in binary form must reproduce the above copyright
 *  notice, this list of conditions and the following disclaimer in the
 *  documentation and/or other materials provided with the distribution.
 *  Neither the name of the dreamlu.net developer nor the names of its
 *  contributors may be used to endorse or promote products derived from
 *  this software without specific prior written permission.
 *  Author: Chill 庄骞 (smallchill@163.com)
 */
package org.springblade.modules.guosen.withdrawRecords.entity;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.TableName;
import org.springblade.core.mp.base.BaseEntity;
import java.time.LocalDateTime;
import lombok.Data;
import lombok.EqualsAndHashCode;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * 实体类
 *
 * @author BladeX
 * @since 2021-07-09
 */
@Data
@TableName("cyzh_withdraw_records")
@EqualsAndHashCode(callSuper = true)
@ApiModel(value = "WithdrawRecords对象", description = "WithdrawRecords对象")
public class WithdrawRecords extends BaseEntity {

	private static final long serialVersionUID = 1L;

	/**
	* 用户id
	*/
		@ApiModelProperty(value = "用户id")
		private Long userId;
	/**
	* 备注说明
	*/
		@ApiModelProperty(value = "备注说明")
		private String note;
	/**
	* openid
	*/
		@ApiModelProperty(value = "openid")
		private String openid;
	/**
	* 提现状态 0 未发款 1已发款 2 提现失败
	*/
		@ApiModelProperty(value = "提现状态 0 未发款 1已发款 2 提现失败")
		private Integer withdrawStatus;
	/**
	* 发款时间
	*/
		@ApiModelProperty(value = "发款时间")
		private LocalDateTime grantTime;
	/**
	* 消耗的热力值
	*/
		@ApiModelProperty(value = "消耗的热力值")
		private BigDecimal hotValue;
	/**
	* 提现金额
	*/
		@ApiModelProperty(value = "提现金额")
		private BigDecimal cashValue;
	/**
	* 1.用户提现 2.代理提现 3.采购商提现 4.主办方提现 5运营方提现 6.商户提现
	*/
		@ApiModelProperty(value = "1.用户提现 2.代理提现 3.采购商提现 4.主办方提现 5运营方提现 6.商户提现")
		private Integer type;
	/**
	* 需要更新的数据
	*/
		@ApiModelProperty(value = "需要更新的数据")
		private String updateAffair;
	/**
	* 银行类型
	*/
		@ApiModelProperty(value = "银行类型")
		private String bankCode;
	/**
	* 完成时间
	*/
		@ApiModelProperty(value = "完成时间")
		private String finishTime;
	/**
	* 易宝订单编号
	*/
		@ApiModelProperty(value = "易宝订单编号")
		private String orderNo;
	/**
	* 提现手续费
	*/
		@ApiModelProperty(value = "提现手续费")
		private String fee;
	/**
	* 易宝返回的数据，提现金额+提现手续费
	*/
		@ApiModelProperty(value = "易宝返回的数据，提现金额+提现手续费")
		private String debitAmount;
	/**
	* uuid
	*/
		@ApiModelProperty(value = "uuid")
		private String requestNo;
	/**
	* 接收人真实姓名
	*/
		@ApiModelProperty(value = "接收人真实姓名")
		private String receiverAccountName;
	/**
	* 接收人的银行账号
	*/
		@ApiModelProperty(value = "接收人的银行账号")
		private String receiverAccountNo;
	/**
	* feeUndertakerMerchantNo
	*/
		@ApiModelProperty(value = "feeUndertakerMerchantNo")
		private String feeUndertakerMerchantNo;
	/**
	* 提现到账的金额
	*/
		@ApiModelProperty(value = "提现到账的金额")
		private String receiveAmount;
	/**
	* 提现金额
	*/
		@ApiModelProperty(value = "提现金额")
		private String orderAmount;
	/**
	* 订单时间
	*/
		@ApiModelProperty(value = "订单时间")
		private String orderTime;
	/**
	* 到账类型，默认实时到账
	*/
		@ApiModelProperty(value = "到账类型，默认实时到账")
		private String receiveType;
	/**
	* merchant_no
	*/
		@ApiModelProperty(value = "merchant_no")
		private String merchantNo;
	private String bussinessOrderNo;
	/**
	* 易宝的状态
	*/
		@ApiModelProperty(value = "易宝的状态")
		private String yeeStatus;
	/**
	* 失败的原因
	*/
		@ApiModelProperty(value = "失败的原因")
		private String failReason;


}
