package com.crm.rely.backend.core.pojo.table;

import com.crm.rely.backend.core.pojo.BaseTable;
import lombok.Data;

import javax.persistence.Entity;
import javax.persistence.Table;
import java.math.BigDecimal;

/**
 * 赠送 存款
 *
 * @author Administrator
 */
@Data
@Entity
@Table(name = "finance_trade_interest")
public class FinanceTradeInterestTable extends BaseTable {

    /**
     * 流水号
     */
    private String serial;

    /**
     * 用户id
     */
    private Long customId;

    private Long cId;

    /**
     * 用户名称
     */
    private String name;
    /**
     * 入金账号平台
     */
    private String platform;
    /**
     * 入金账号
     */
    private Long login;

    private Long agentId;
    /**
     * 入金交易账号类型
     */
    private Long loginType;

    /**
     * 赠送类型 1出入金 2 信用金
     */
    private Integer type;
    /**
     * 入金金额
     */
    private BigDecimal amount;

    private String currency;

    private Integer tradeStatus;

    private String tradeTicket;

    private BigDecimal tradeAmount;

    private String tradeCurrency;

    private Integer interestSource;

    private String interestContent;

    private BigDecimal creditLimit;
}
