export default class Cfaeca {
    constructor() {
        this.data = {
            cfatyp: "",
            cfaflg: null,
            basflg: null, // 签约信息
            dclflg: null, // 任余额信息
            ownextkey: null, // 地区机构号
            cdaflg: null, // 是否外保内贷
            visflg: null, //采集标志是否可用
            cda: {
                inr: '',
                trninr: '',  //对应TRNINR
                cfeogudamount: '',  //中资企业境外担保项下境内贷款额度金额
                cfeogudcurr: '',   //中资企业境外担保项下境内贷款额度币种
                useofunds: '',  //资金用途
                cfeogudad: '',  //中资企业境外担保项下境内贷款业务批准文件号
            },
            recgrp: {
                bas: {
                    inr: "",
                    actiontype: "", //  操作类型		.recgrp.bas.actiontype
                    actiondesc: "", //  删除原因		.recgrp.bas.actiondesc
                    dofoexlocode: "", //  国内外汇贷款编号 
                    creditorcode: "", //  债权人代码
                    debtorcode: "", //  债务人代码
                    debtorname: "", //债务人中文名称
                    dofoexlotype: "", //国内外汇贷款类型
                    lenproname: "", //转贷项目名称
                    lenagree: "", //转贷协议号
                    valuedate: "", //  起息日
                    maturity: "", //  到期日
                    currence: "", //  贷款币种
                    contractamount: "", //  签约金额
                    anninrate: "", //  年华利率
                    remark: "", // 备注
                    sta: "", // 接口状态
                    fincod: "", // 借据号
                    hxjyls: "", // 核心交易流水号
                },
                dcl: [
                    {
                        inr: "",
                        sta: "", //  接口状态		.recp.dclp.sta
                        actiontype: "", //  操作类型		.recp.dclp.actiontype
                        actiondesc: "", //  删除原因		.recp.dclp.actiondesc
                        dofoexlocode: "", //  国内外汇贷款编号		.recp.dclp.dofoexlocode
                        buscode: "", //  银行业务参号		.recp.dclp.buscode
                        changeno: "", //  变动编号		.recp.dclp.changeno
                        changtype: "", //  变动类型		
                        loanopenbalan: "", //  期初余额
                        withcurrence: "", //  提款币种
                        withamount: "", //  提款金额
                        settamount: "", //  结汇金额
                        useofunds: "", //  资金用途
                        princurr: "", //  还本币种
                        repayamount: "", //  还本金额
                        prepayamount: "", //  购汇还本金额
                        inpaycurr: "", //  付息币种
                        inpayamount: "", //  付息金额
                        pinpayamount: "", //  购汇付息金额
                        endbalan: "", //  期末余额
                        remark: "", // 备注
                        sta: "", // 接口状态
                        eblinr: "", // 控制表 inr
                        fincod: "", // 借据号
                        objtyp: "", // 主表类型
                        objinr: "", // 主表inr
                    },
                ],
            },
            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
        };
    }
}