/*
 *      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.ldt.bills.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;
import org.springblade.core.tenant.mp.TenantEntity;

/**
 * 实体类
 *
 * @author BladeX
 * @since 2021-09-23
 */
@Data
@TableName("ldt_balance_bills")
@EqualsAndHashCode(callSuper = true)
@ApiModel(value = "BalanceBills对象", description = "BalanceBills对象")
public class BalanceBills extends TenantEntity {

	private static final long serialVersionUID = 1L;

	/**
	* 交易金额
	*/
		@ApiModelProperty(value = "交易金额")
		private BigDecimal price;
	/**
	* 交易总价格（交易金额+交易手续费）
	*/
		@ApiModelProperty(value = "交易总价格（交易金额+交易手续费）")
		private BigDecimal totalPrice;
	/**
	* 交易账户--付款方
	*/
		@ApiModelProperty(value = "交易账户--付款方")
		private Long payId;
	/**
	* 交易标题
	*/
		@ApiModelProperty(value = "交易标题")
		private String title;
	/**
	* 交易说明
	*/
		@ApiModelProperty(value = "交易说明")
		private String billDesc;
	/**
	* 手续费
	*/
		@ApiModelProperty(value = "手续费")
		private BigDecimal fee;
	/**
	* 交易账户--收款方
	*/
		@ApiModelProperty(value = "交易账户--收款方")
		private Long receiveId;
	/**
	* 交易状态
	*/
		@ApiModelProperty(value = "交易状态")
		private String payStatus;
	/**
	* 交易类型
	*/
		@ApiModelProperty(value = "交易类型")
		private String type;
	/**
	* 交易订单号
	*/
		@ApiModelProperty(value = "交易订单号")
		private Long tradeNo;
	/**
	 * 易宝交易订单号
	 */
		@ApiModelProperty(value = "易宝交易订单号")
		private String requestNo;
	/**
	 * 赠送积分数量
	 */
		@ApiModelProperty(value = "赠送积分数量")
		private BigDecimal sendNum;
}
