import Pts from '~/components/business/commonModel/Pts';
import Pub from '~/components/business/commonModel/index.js';
import Ledgrp from '~/components/business/commonModel/ledgrp';
import Letp from '~/components/business/commonModel/letp';
import Rmbclm from '~/components/business/commonModel/rmbclm';
import Swiadd from '~/components/business/commonModel/swiadd';

export default class Letame {
    constructor() {
        this.data = {
            godAddDelRep: "",
            docAddDelRep: "",
            adcAddDelRep: "",
            benAddDelRep: "",
            bnkAddDelRep: "",

            number: '',
            ledgrp: new Ledgrp().data,
            letp:new Letp().data,
            oldledgrp:  new Ledgrp().data,

            letamep: {
                //Status E-nable, D-isable, I-nvisible
               pansta : '',
                //Narrative
                nartxt : '',
                //Request of Amendment send to
                ramrol: '',
                //Label for RAMROL
                ramrollab:'',
                //Narrative
                tag79txt707: '',
                //Beneficiary's Confirmation Required
                benconflg:'',
                //Flag for SPT
                sptflg : '',
                //Create Amendment Message-Flag
                cre707flg : '',
                //Amendment Accepted by Beneficiary
                benaccflg : '',
                //Amendment date
                amedat: '',
                //Number of Amendment
                amenbr: '',
                //Narrative :79:
                ametxt : '',
                //New Maximum Amount
                maxamt: '',
                //Currency of Maximum Amount
                maxcur : '',
                //change of engagement:
                engamt : '',
                //Engagement Currency
                engcur : '',
                //Default of Narrative
                nartxtdef: '',

                lcrdocamep: {
                    modflg: "",
                    modmanflg: "",
                    usrblk: "",
                    lcrdoc:"",
                },
                spcbenamep: {
                    modflg: "",
                    modmanflg: "",
                    usrblk: "",
                    spcben:"",
                },
                spcrcbamep: {
                    modflg: "",
                    modmanflg: "",
                    usrblk: "",
                    spcrcb:""

                },
                lcrgodamep: {
                    modflg: "",
                    modmanflg: "",
                    usrblk: "",
                    lcrgod:"",
                },
                adlcndamep: {
                    modflg: "",
                    modmanflg: "",
                    usrblk: "",
                    adlcnd:"",
                },
            },
            rmbclm: new Rmbclm().data,
            swiadd: new Swiadd().data,

            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,
            umdmod: new Pub().data.Umdmod,
            trndia: new Pub().data.Trndia,

        };
    }
}