import Pts from '~/components/business/commonModel/Pts';
import Pub from '~/components/business/commonModel/index.js';

export default class Botset {
    constructor() {
        this.data = {

            cnybop: {
                sbankname: '',
                outflg: '',
                cnyflg: '',
                cnyinc: {
                    sorilevyno: '',
                    spayeeacct: '',
                    spayeeorgcode: '',
                    foffshoreamt: '',
                    cpayeeattr: '',
                    spayercountrycode: '',
                    fcustomsamt: '',
                    spayeracct: '',
                    frecordamt: '',
                    sbankorgcode: '',
                    sbanktrano: '',
                    fonshoreamt: '',
                    dpayeedate: '',
                    spayeecny: '',
                    spk: '',
                    ftotalamt: '',
                    iaccountperiod: '',
                    sbalancemode: '',
                    smidtransbank: '',
                    sswiftbic: '',
                    cpayeraccttyp: '',
                    fpayeeamt: '',
                    fprepayeeamt: '',
                    fnogoodsamt: ''
                },
                incscale: '',
                spayername: '',
                traflg: '',
                saddword: '',
                vouflg: '',
                libflg: '',
                spayeename: ''
            },
            bopmod: {
                outchargeamt: '',
                dbap: {
                    baspp: {
                        acp: ''
                    }
                },
                outchargeccy: '',
                dbdp: {
                    baspp: {
                        acp: ''
                    }
                },
                ownextkey: '',
                dbagrp: {
                    bas: {
                        actiontype: '',
                        custype: '',
                        buscode: '',
                        outchargeamt: '',
                        inchargeamt: '',
                        othacc: '',
                        custnm: '',
                        methods: '',
                        oppuser: '',
                        lcyacc: '',
                        inchargeccy: '',
                        rptno: '',
                        actiondesc: '',
                        txccy: '',
                        lcyamt: '',
                        outchargeccy: '',
                        ownextkey: '',
                        idcode: '',
                        fcyamt: '',
                        othamt: '',
                        exrate: '',
                        fcyacc: '',
                        txamt: '',
                        custcod: ''
                    }
                },
                acttyp: '',
                dbdgrp: {
                    bas: {
                        actiontype: '',
                        custype: '',
                        buscode: '',
                        inchargeamt: '',
                        othacc: '',
                        custnm: '',
                        methods: '',
                        oppuser: '',
                        lcyacc: '',
                        inchargeccy: '',
                        rptno: '',
                        actiondesc: '',
                        txccy: '',
                        lcyamt: '',
                        ownextkey: '',
                        idcode: '',
                        fcyamt: '',
                        othamt: '',
                        exrate: '',
                        fcyacc: '',
                        txamt: '',
                        custcod: ''
                    }
                },
                szflg: '',
                basflg: ''
            },
            bodgrp: {
                blk: {
                    colins: '',
                    dftins: '',
                    delins: '',
                    othins: '',
                    chgtxt: '',
                    colinsflg: '',
                    proins: ''
                },
                rec: {
                    inr:'',
                    rcvdat: '',
                    predat: '',
                    matpercnt: '',
                    ownref: '',
                    docsta: 'E',
                    matperbeg: '',
                    wairmtcod: '',
                    doctypcod: '',
                    chato: '',
                    othins: '',
                    lescom: '',
                    waicolcod: '',
                    matdat: '',
                    nam: '',
                    focflg: '',
                    branchinr:'',
                },
                col: {
                    pts: new Pts().data
                },
                cbs: {
                    opn1: {
                        cur: '',
                        amt: '',
                    },
                    max: {
                        cur: '',
                        amt: ''
                    }
                },

                drr: {
                    pts: new Pts().data
                },
                dre: {
                    pts: new Pts().data
                }
            }
            ,
            lendoc: {
                actflg: '',
                decnum: '',
                vercerref: '',
                account: ''
            },
            bptbck: {
                bptbckg:[],
            },


            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,
        };
    }
}