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

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

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

/**
 * 存款
 *
 * @author Administrator
 */
@Data
@Entity
@Table(name = "finance_withdraw")
public class FinanceWithdrawTable extends BaseApproveTable {

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

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

    private Long cId;

    /**
     * 用户名称
     */
    private String name;

    /**
     * 出金账号
     */
    private Long login;

    private Long agentId;
    /**
     * 出金金额
     */
    private BigDecimal amount;
    /**
     * 出金汇率
     */
    private BigDecimal rate;

    private BigDecimal cny;

    private String bankCode;

    private String bankUname;

    private String bankCardNum;

    private String bankName;

    private String bankBranchName;

    private String bankAddr;

    private String swiftCode;

    private String bankFront;

    private String bankBack;

    private Integer sourceType;

}
