package cn.qg.qaplatform.entity.xyqb;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

@Data
@TableName(value = "apply_funding_risk_record")
public class ApplyFundingRiskRecord {
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 额度申请记录id
     */
    private Long assetsOrderId;

    /**
     * 用户ID
     */
    private Long userId;

    /**
     * 资金方id
     */
    private Long fundingCorpId;

    /**
     * 申请金额
     */
    private BigDecimal amount;

    /**
     * json
     */
    private String terms;

    /**
     * 利率
     */
    private BigDecimal rate;

    /**
     * 增量,倍数, 风控给出
     */
    private BigDecimal increment;

    /**
     * 其他费用
     */
    private BigDecimal otherSum;

    /**
     * 与资金方交互状态
     */
    private Integer applyStatus;

    /**
     * 简单备注
     */
    private String remark;

    private Date createdAt;

    private Date updatedAt;
}
