export default class Cfaead {
    constructor() {
        this.data = {
            cfatyp: "A",
            cfaflg: null,
            basflg: null, // 签约信息
            dclflg: null, // 任余额信息
            ownextkey: null, // 地区机构号
            visflg: null, //采集标志是否可用
            recgrp: {
                bas: {
                    inr: "",
                    actiontype: "", //  操作类型		.recgrp.bas.actiontype
                    actiondesc: "", //  删除原因		.recgrp.bas.actiondesc
                    exdebtcode: "", //  外债编号		.recgrp.bas.exdebtcode
                    debtorcode: "", //  债务人代码		.recgrp.bas.debtorcode
                    debtype: "", //  债务类型		.recgrp.bas.debtype
                    valuedate: "", //  起息日		.recgrp.bas.valuedate
                    contractcurr: "", //  签约金额		.recgrp.bas.contractcurr
                    contractamount: "", //  签约金额		.recgrp.bas.contractamount
                    maturity: "", //  到期日		.recgrp.bas.maturity
                    floatrate: "", //  是否浮动利率		.recgrp.bas.floatrate
                    anninrate: "", //  年化利率值		.recgrp.bas.anninrate
                    creditorcode: "", //  债权人代码		.recgrp.bas.creditorcode
                    creditorname: "", //  债权人中文名称		.recgrp.bas.creditorname
                    creditornamen: "", //  债权人英文名称		.recgrp.bas.creditornamen
                    creditortype: "", //  债权人类型代码		.recgrp.bas.creditortype
                    crehqcode: "", //  债权人总部所在国家(地区)代码		.recgrp.bas.crehqcode
                    opercode: "", //  债权人经营地所在国家(地区)代码		.recgrp.bas.opercode
                    appcode: "", //  申请人代码		.recgrp.bas.appcode
                    appname: "", //  申请人名称		.recgrp.bas.appname
                    inltcabuscode: "", //  信用证承兑业务参号		.recgrp.bas.inltcabuscode
                    spapfeboindex: "", //  是否不纳入跨境融资风险加权余额计算		.recgrp.bas.spapfeboindex
                    remark: "", //  备注		.recgrp.bas.remark
                    relation: "", //  对方与本机构的关系		.recgrp.bas.relation
                    sta: "", //  接口状态
                },
                dcl: [
                    {
                        inr: "",
                        sta: "", //  接口状态		.recp.dclp.sta
                        actiontype: "", //  操作类型		.recp.dclp.actiontype
                        actiondesc: "", //  删除原因		.recp.dclp.actiondesc
                        exdebtcode: "", //  外债编号		.recp.dclp.exdebtcode
                        buscode: "", //  银行业务参号		.recp.dclp.buscode
                        changeno: "", //  变动编号		.recp.dclp.changeno
                        changtype: "", //  变动类型		.recp.dclp.changtype
                        chdate: "", //  变动日期		.recp.dclp.chdate
                        chcurrency: "", //  变动币种		.recp.dclp.chcurrency
                        fairvalue: "", //  公允价值		.recp.dclp.fairvalue
                        remark: "", //  备注		.recp.dclp.remark
                        acp: "", //  确认		.recp.dclp.acp
                        chamount: "", //  变动金额		.recp.dclp.chamount
                    },
                ],
            },
            recp: {
                pubp: {
                    creditcodwarn: "", //  CREDITORCODE WARNING		.recp.pubp.creditcodwarn
                    acp: "", //  确认		.recp.pubp.acp
                },
            },
            cfabut: {
                vrflab: "", //  DCLFLG LABEL		.cfabut.vrflab
                dcllab: "", //  DCLFLG LABEL		.cfabut.dcllab
                basflg: "", //  签约信息		.cfabut.basflg
                dclflg: "", //  变动信息		.cfabut.dclflg
                ownextkey: "", //  业务所属机构		.cfabut.ownextkey
                newdclnum: "", //  新增DCL数目		.cfabut.newdclnum
                newvrfnum: "", //  新增VRF数目		.cfabut.newvrfnum
                addnew: "", //  新增接口数据		.cfabut.addnew
                newdcl: "", //  DCL数目		.cfabut.newdcl
                newvrf: "", //  VRF数目		.cfabut.newvrf
                vrfflg: "", //  履约信息		.cfabut.vrfflg
            },
            eblmod: {
                ebl: {
                    reldat: "", //  授权日期		.eblmod.ebl.reldat
                    resamt: "", //  代付还代利息		.eblmod.ebl.resamt
                },
                wrkebl: {
                    inr: "", //  前手ebl主键
                },
            },
            pageId: "", // ctx的key
        };
    }
}