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 houn
 */
@Data
@Entity
@Table(name = "finance_transfer")
public class FinanceTransferTable extends BaseApproveTable {

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

    private Long cId;

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

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

    private BigDecimal amount;

    private Integer sourceType;

    private Long withdrawLogin;
    private Integer withdrawStatus;

    private String withdrawTicket;

    private Long depositLogin;

    private Integer depositStatus;

    private String depositTicket;
}
