/*
 *      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.ldt.withdrawrecord.entity;

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

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

	private static final long serialVersionUID = 1L;

	/**
	* 提现用户类型： 1-商家
	*/
		@ApiModelProperty(value = "提现用户类型： 1-商家")
		private Integer ownerType;
	/**
	* 提现用户id： 若owner_type = 1则为商家id
	*/
		@ApiModelProperty(value = "提现用户id： 若owner_type = 1则为商家id")
		private Long ownerId;
	/**
	* 提现金额
	*/
		@ApiModelProperty(value = "提现金额")
		private BigDecimal price;
	/**
	* 需扣积分价值
	*/
		@ApiModelProperty(value = "需扣积分价值")
		private BigDecimal pointValue;
	/**
	* 实际提现金额
	*/
		@ApiModelProperty(value = "实际提现金额")
		private BigDecimal actualPrice;
	/**
	* 提现手续费
	*/
		@ApiModelProperty(value = "提现手续费")
		private BigDecimal fee;
	/**
	* 提现状态： 1-待确定 2-已到账 3-失败
	*/
		@ApiModelProperty(value = "提现状态： 1-待确定 2-已到账 3-失败")
		private Integer withdrawStatus;
	/**
	* 提现订单号
	*/
		@ApiModelProperty(value = "提现订单号")
		private String orderId;
	/**
	* 提现渠道：yeePay(易宝支付)
	*/
		@ApiModelProperty(value = "提现渠道：yeePay(易宝支付)")
		private String channel;
	/**
	* 银行类型
	*/
		@ApiModelProperty(value = "银行类型")
		private String bankCode;
	/**
	* 接收人真实姓名
	*/
		@ApiModelProperty(value = "接收人真实姓名")
		private String receiverAccountName;
	/**
	* 接收人的银行账号
	*/
		@ApiModelProperty(value = "接收人的银行账号")
		private String receiverAccountNo;
	/**
	* 到账类型，默认实时到账
	*/
		@ApiModelProperty(value = "到账类型，默认实时到账")
		private String receiveType;
	/**
	* 提现到账的金额
	*/
		@ApiModelProperty(value = "提现到账的金额")
		private BigDecimal receiveAmount;
	/**
	* 失败原因
	*/
		@ApiModelProperty(value = "失败原因")
		private String failReason;


}
