import Pts from '~/components/business/commonModel/Pts';
import Pub from '~/components/business/commonModel/index.js';
export default class Bctset {
  constructor() {
    this.data = {
      brdgrp: {
        ghd: {
          segtyp: '',
        },
        prb: {
          pts: new Pts().data,
        },
        rec: {
          tenmaxday: '',
          rcvdat: '',
          docflg: '',
          ownref: '',
          docsta: '',
          invref: '',
          rptref: '',
          stadat: '',
          advdat: '',
          matdat: '',
          nam: '',
          docprbrol: '',
          frepayflg: '',
          branchinr:'',
          inr:'',
          totdat:'',
          ptytyp:'',
          pclbckamt:'',
          dscbckamt:'0',
          docamt:'',
          doccur:'',


        },
        cbs: {
          opn1: {
            cur: '',
            amt: '',
          },
          opn2: {
            cur: '',
          },
          max: {
            cur: '',
            amt: '',
          },
        },
        ben: {
          pts: new Pts().data,
        },
        apl: {
          pts: new Pts().data,
        },
      },

      bptbck:{
        bptbckg:[],			//  		.bptbck.bptbckg
        dscbckcur:"",			//  currency discount paid back		.bptbck.dscbckcur
      },
      zcsdrq: '',
      cfatrt: {
        cda: {
          cfeogudamount: '',
          cfeogudcurr: '',
          useofunds: '',
          cfeogudad: '',
        },
        ownextkey: '',
        cfaflg: '',
        basflg: '',
        dclflg: '',
        cdaflg: '',
      },
      brtp: {
        prechkdat: '',
        ischktyp: '',
      },
      financ: {
        rzkx4: '',
        acc: '',
        rzkx3: '',
        rzkx2: '',
        rzkx1: '',
        ref4: '',
        ref3: '',
        ref2: '',
      },
      cnybop: {
        saddwordout: '',
        sbankname: '',
        outflg: '',
        cnyflg: '',
        cnyout: {
          spayeeacct: '',
          sorilevyno: '',
          foffshoreamt: '',
          cpayeeattr: '',
          spayercountrycode: '',
          fcustomsamt: '',
          spayeracct: '',
          frecordamt: '',
          sbankorgcode: '',
          sbanktrano: '',
          fonshoreamt: '',
          dpayeedate: '',
          spayeecny: '',
          spk: '',
          ftotalamt: '',
          iaccountperiod: '',
          sbalancemode: '',
          smidtransbank: '',
          sswiftbic: '',
          cpayeraccttyp: '',
          fpayeeamt: '',
          fprepayeeamt: '',
          fnogoodsamt: '',
        },
        spayername: '',
        traflg: '',
        vouflg: '',
        outscale: '',
        libflg: '',
        spayeename: '',
      },
      aamset: {
        utlamt: '',
        utlamt2: '',
      },
      trtcre: {
        trtmod: {
          finmod: {
            act1:'',
            accbch: '',
            intprd: '6',
            ovdintrat: '',
            fincod: '',
            fltval: '',
            dinmod: {
              spjgdc: '',
              shpdch: '',
              sxlexi: '',
              jzllgz: '1',
              chapdm: '',
              libor: '',
              sheplb: '',
              dinjdm: '',
              dinjls: '',
              dakaqx: '',
              spzhta: '',
              shpjgh: '',
              shuilv: '',
              shpijg: '',
              dakaje: '',
              sxpfdm: '',
              dinjlb: '',
              rmbsbs: '',
              ndjgbs: '',
              qixndw: '',
              hxkhdm: '',
              maxqix: '',
              maxdje: '',
              minqix: '',
              ockhdm: '',
              mindje: '',
              bizhog: '',
              lprtyp: '',
              djhtno: '',
              chapmc: '',
            },
            intamt: '0',
            flttyp: '',
            act3: '',
            ratchgdat: '',
            inttyp: '',
            ovdinttyp: '',
            graday: '',
            intact: '',
            dinjdm: '',
            wjdkfl: '',
            ratchgtyp: '1',
            acttyp: '',
            intdat: '',
            ratchgprd: '',
            shuilv: '',
          },
        },
        oriamt: '',
        crefinflg: '',
        trntyp: '',
        trdgrp: {
          rec: {
            fincod:'',
            ovdflg: '',
            ownusr: window.sessionStorage.userId ? window.sessionStorage.userId : 'ZL',
            stttendat: new Date(),
            recaccount: '',
            pctfin: '100',
            recdistrictcode: '',
            ownref: '',
            intrat: '0.000000',
            pntnam: '',
            invtyp: '1',
            fintyp: '',
            tenday: '',
            guaflg: '',
            stagod: '001',
            lprtyp: '',
            issdat: new Date(),
            matdat: '',
            nam: '',
            actrat: '0.000000',
            pntref: '',
            reccountrycode: '',
            opndat: new Date(),
            branchinr: ''
          },
          cbs: {
            max: {
              cur: '',
              amt: '',
            },
          },
          fip: {
            pts: new Pts().data,
          },
        },
        oppacc: '',
        oricur: '',
        trtp: {
          act: '',
          usr: {
            extkey: window.sessionStorage.userId ? window.sessionStorage.userId : 'ZL',
          },
          recname: '',
          bcdget: {
            sdamod: {
              seainf: '',
            },
          },
        },
        extrat: '',
      },
      cfadft: {
        ownextkey: '',
        cfaflg: '',
        basflg: '',
        dclflg: '',
      },
      number: '',
      bopmod: {
        dbfgrp: {
          bas: {
            actiontype: '',
            custype: '',
            actuamt: '',
            othacc: '',
            custnm: '',
            methods: '',
            rptno: '',
            txccy: '',
            lcyamt: '',
            lcbgno: '',
            tenor: '',
            actuccy: '',
            ownextkey: '',
            idcode: '',
            fcyamt: '',
            issdate: '',
            fcyacc: '',
            txamt: '',
            buscode: '',
            outchargeamt: '',
            oppuser: '',
            lcyacc: '',
            actiondesc: '',
            outchargeccy: '',
            othamt: '',
            tmpref: '',
            exrate: '',
            custcod: '',
          },
        },
        ownextkey: '',
        dbcp: {
          baspp: {
            tmprefnew: '',
            exratelab: '',
            cornam: '',
            lcyamtlab: '',
            roptnam: '',
            corpnam: '',
            cusnam: '',
            acp: '',
          },
        },
        dbfp: {
          baspp: {
            tmprefnew: '',
            exratelab: '',
            cornam: '',
            lcyamtlab: '',
            roptnam: '',
            corpnam: '',
            cusnam: '',
            acp: '',
          },
        },
        acttyp: '',
        szflg: '',
        dbcgrp: {
          bas: {
            actiontype: '',
            custype: '',
            actuamt: '',
            othacc: '',
            custnm: '',
            methods: '',
            rptno: '',
            txccy: '',
            lcyamt: '',
            lcbgno: '',
            tenor: '',
            actuccy: '',
            ownextkey: '',
            idcode: '',
            fcyamt: '',
            issdate: '',
            fcyacc: '',
            txamt: '',
            buscode: '',
            outchargeamt: '',
            oppuser: '',
            lcyacc: '',
            actiondesc: '',
            outchargeccy: '',
            othamt: '',
            tmpref: '',
            exrate: '',
            custcod: '',
          },
        },
        basflg: '',
      },
      nar754: '',
      paypsb: '',
      dftcre: {
        dftp: {
          dffp: {
            ptsget: {
              sdamod: {
                seainf: '',
                dadsnd: '',
              },
            },
          },
          pctlab: '',
          aplp: {
            ptsget: {
              sdamod: {
                seainf: '',
                dadsnd: '',
              },
            },
          },
        },
        dfdgrp: {
          rec: {
            stttendat: '',
            bankcn: '',
            intprd: '',
            resamt: '',
            fltval: '',
            pntnam: '',
            ownref: '',
            bnkact: '',
            invtyp: '',
            fintyp: '',
            flttyp: '',
            tenday: '',
            rescur: '',
            guaflg: '0',
            dfuflg: '',
            trntyp: '',
            bankno: '',
            matdat: '',
            nam: '',
            actrat: '',
            pntref: '',
          },
          dff: {
            adrelc: '',
            dbfadrblkcn: '',
            namelc: '',
            pts: new Pts().data,
          },
          cbs: {
            opn1: {
              cur: '',
              amt: '',
            },
            max: {
              cur: '',
              amt: '',
            },
          },
          apl: {
            adrelc: '',
            dbfadrblkcn: '',
            namelc: '',
            pts: new Pts().data,
          },
        },
        oriamt: '',
        dfucur: '',
        oricur: '',
        dfuamt: '',
        dfflag: '',
      },
      lidgrp: {
        rec: {
          inr:"",
          expdat: '',
          ownref: '',
        },
        cbs: {
          opn1: {
            cur: '',
            amt: '',
          },
        },
      },
      cfabrt: {
        cfaflg: '',
        basflg: '',
        dclflg: '',
      },
      setmod: new Pub().data.Setmod,
      mtabut: new Pub().data.Mtabut,
      trnmod: new Pub().data.Trnmod,
      liaall: new Pub().data.Liaall,
      liaccv: new Pub().data.Liaccv,
      docpan: new Pub().data.Docpan,
    };
  }
}