package cn.com.ctop.finance.payment.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.jeecgframework.poi.excel.annotation.Excel;

import java.util.Date;

/**
 * 充值账户表
 *
 * @author jeecg-boot
 * @version V1.0
 * @date 2023-04-13
 */
@Data
@TableName("finance_payment_recharge_account")
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value = "finance_payment_recharge_account对象", description = "充值账户表")
public class FinancePaymentRechargeAccount {

    /**
     * 主键
     */
    @TableId(type = IdType.AUTO)
    @ApiModelProperty(value = "主键")
    private Long id;
    /**
     * 产品id
     */
    @Excel(name = "产品id", width = 15)
    @ApiModelProperty(value = "产品id")
    private Long productId;
    /**
     * 产品名
     */
    @Excel(name = "产品名", width = 15)
    @ApiModelProperty(value = "产品名")
    private String productName;
    /**
     * 充值表ID
     */
    @Excel(name = "充值表ID", width = 15)
    @ApiModelProperty(value = "充值表ID")
    private Long rechargeId;
    /**
     * 项目id
     */
    @Excel(name = "项目id", width = 15)
    @ApiModelProperty(value = "项目id")
    private Long projectId;
    /**
     * 账户id
     */
    @Excel(name = "账户id", width = 15)
    @ApiModelProperty(value = "账户id")
    private String accountId;
    /**
     * 账户名
     */
    @Excel(name = "账户名", width = 15)
    @ApiModelProperty(value = "账户名")
    private String accountName;
    /**
     * 现金金额
     */
    @Excel(name = "现金金额", width = 15)
    @ApiModelProperty(value = "现金金额")
    private java.math.BigDecimal cashAmount;
    /**
     * 到账金额
     */
    @Excel(name = "到账金额", width = 15)
    @ApiModelProperty(value = "到账金额")
    private java.math.BigDecimal receivedAmount;
    /**
     * 返点类型：1-返货、2-返现
     */
    @Excel(name = "返点类型：1-返货、2-返现", width = 15)
    @ApiModelProperty(value = "返点类型：1-返货、2-返现")
    private String rebateType;
    /**
     * 返点比例
     */
    @Excel(name = "返点比例", width = 15)
    @ApiModelProperty(value = "返点比例")
    private Double rebateRate;
    /**
     * 创建时间
     */
    @ApiModelProperty(value = "创建时间")
    private Date createTime;
    /**
     * 更新时间
     */
    @ApiModelProperty(value = "更新时间")
    private Date updateTime;
    /**
     * 代理商名称
     */
    @TableField(exist = false)
    private String agentName;
    /**
     * 项目名称
     */
    @TableField(exist = false)
    private String projectName;
}
