import { action, observable } from 'mobx'
import _descriptor from '../descriptor'
import {modelWrapper} from '@/components/RunTime'

@modelWrapper
class Litopn {
    
    @observable
    ownref=""           // \lidgrp\rec\ownref    Reference 

    @observable
    lcrtyp=""           // \lidgrp\rec\lcrtyp    Form of Documentary Credit 

    @observable
    usr_nam=""           // \litp\\sysmod\usr\nam    用户ID 

    @observable
    nom1_cur=""           // \lidgrp\cbs\nom1\cur    Currency 

    @observable
    nom1_amt=""           // \lidgrp\cbs\nom1\amt    Balance 

    @observable
    aammod_addamtflg=""           // \litp\aamp\aammod\addamtflg    Add. Amount 

    @observable
    nomtop=""           // \lidgrp\rec\nomtop    Amount Tolerance - Positive 

    @observable
    nomton=""           // \lidgrp\rec\nomton    Amount Tolerance - Negative 

    @observable
    nomspc=""           // \lidgrp\rec\nomspc    Amount Specification 

    @observable
    max_cur=""           // \lidgrp\cbs\max\cur    Currency 

    @observable
    max_amt=""           // \lidgrp\cbs\max\amt    Balance 

    @observable
    opndat=""           // \lidgrp\rec\opndat    Date L/C Opened/Issued 

    @observable
    preadvdt=""           // \lidgrp\rec\preadvdt    Date Pre-advised 

    @observable
    shpdat=""           // \lidgrp\rec\shpdat    Shipment Date 

    @observable
    expdat=""           // \lidgrp\rec\expdat    Date of Expiry 

    @observable
    expplc=""           // \lidgrp\rec\expplc    Place of Expiry 

    @observable
    shppar=""           // \lidgrp\rec\shppar    Partial Shipment 

    @observable
    shptrs=""           // \lidgrp\rec\shptrs    Transshipment 

    @observable
    apprul=""           // \lidgrp\rec\apprul    Applicable Rules 

    @observable
    apprultxt=""           // \lidgrp\rec\apprultxt    Other Applicable Rules 

    @observable
    cnfdet=""           // \lidgrp\rec\cnfdet    Confirmation Instructions 

    @observable
    pts2_ref=""           // \lidgrp\apl\pts\ref    参考号 

    @observable
    pts2_extkey=""           // \lidgrp\apl\pts\extkey    客户编号 

    @observable
    pts2_adrblk=""           // \lidgrp\apl\pts\adrblk    SWIFT地址 

    @observable
    pts1_ref=""           // \lidgrp\adv\pts\ref    参考号 

    @observable
    pts1_extkey=""           // \lidgrp\adv\pts\extkey    客户编号 

    @observable
    pts1_adrblk=""           // \lidgrp\adv\pts\adrblk    SWIFT地址 

    @observable
    pts4_ref=""           // \lidgrp\ben\pts\ref    参考号 

    @observable
    pts4_extkey=""           // \lidgrp\ben\pts\extkey    客户编号 

    @observable
    pts4_adrblk=""           // \lidgrp\ben\pts\adrblk    SWIFT地址 

    @observable
    rmbflg=""           // \lidgrp\rec\rmbflg    Reimbursement Information 

    @observable
    revflg=""           // \lidgrp\rec\revflg    Revolving Flag 

    @observable
    nam=""           // \lidgrp\rec\nam    Externally Displayed Name to Identify the Contract 

    @observable
    resflg=""           // \lidgrp\rec\resflg    Reserved Contract 

    @observable
    avbwth=""           // \lidgrp\rec\avbwth    Available with 

    @observable
    pts3_extkey=""           // \lidgrp\avb\pts\extkey    客户编号 

    @observable
    pts3_adrblk=""           // \lidgrp\avb\pts\adrblk    SWIFT地址 

    @observable
    avbby=""           // \lidgrp\rec\avbby    Available by 

    @observable
    blk_defdet=""           // \lidgrp\blk\defdet    Deferred Payment Details 

    @observable
    blk_dftat=""           // \lidgrp\blk\dftat    Drafts at 

    @observable
    pts6_extkey=""           // \lidgrp\drw\pts\extkey    客户编号 

    @observable
    pts6_adrblk=""           // \lidgrp\drw\pts\adrblk    SWIFT地址 

    @observable
    shpfro=""           // \lidgrp\rec\shpfro    Shipment from 

    @observable
    porloa=""           // \lidgrp\rec\porloa    Port of Loading 

    @observable
    pordis=""           // \lidgrp\rec\pordis    Port of Discharge 

    @observable
    shpto=""           // \lidgrp\rec\shpto    For Transportation to 

    @observable
    blk_shpper=""           // \lidgrp\blk\shpper    Shipment Period 

    @observable
    blk_preper=""           // \lidgrp\blk\preper    Presentation Period 

    @observable
    blk_preperflg=""           // \lidgrp\blk\preperflg    Presentation Period modified 

    @observable
    blk_feetxt=""           // \lidgrp\blk\feetxt    Additional Details to Code for Charges 

    @observable
    chato=""           // \lidgrp\rec\chato    Own Charges Borne by 

    @observable
    stacty=""           // \lidgrp\rec\stacty    Country Code Risk Country 

    @observable
    blk_mixdet=""           // \lidgrp\blk\mixdet    Mixed Payment Details 

    @observable
    tenmaxday=""           // \lidgrp\rec\tenmaxday    Maximum tenor in days 

    @observable
    litp_avblab=""           // \litp\avblab    Label Available with Bank 

    @observable
    pts7_ref=""           // \lidgrp\ini\pts\ref    参考号 

    @observable
    pts7_extkey=""           // \lidgrp\ini\pts\extkey    客户编号 

    @observable
    pts7_adrblk=""           // \lidgrp\ini\pts\adrblk    SWIFT地址 

    @observable
    pts8_ref=""           // \lidgrp\rmb\pts\ref    参考号 

    @observable
    pts_ref=""           // \lidgrp\a2b\pts\ref    参考号 

    @observable
    pts_extkey=""           // \lidgrp\a2b\pts\extkey    客户编号 

    @observable
    pts_adrblk=""           // \lidgrp\a2b\pts\adrblk    SWIFT地址 

    @observable
    pts3_ref=""           // \lidgrp\avb\pts\ref    参考号 

    @observable
    pts8_extkey=""           // \lidgrp\rmb\pts\extkey    客户编号 

    @observable
    pts8_adrblk=""           // \lidgrp\rmb\pts\adrblk    SWIFT地址 

    @observable
    pts5_extkey=""           // \lidgrp\cmb\pts\extkey    客户编号 

    @observable
    pts5_adrblk=""           // \lidgrp\cmb\pts\adrblk    SWIFT地址 

    @observable
    blk_lcrgod=""           // \lidgrp\blk\lcrgod    Description of Goods 

    @observable
    stagod=""           // \lidgrp\rec\stagod    Goods Code 

    @observable
    blk_lcrdoc=""           // \lidgrp\blk\lcrdoc    Documents Required 

    @observable
    blk_adlcnd=""           // \lidgrp\blk\adlcnd    Additional Conditions 

    @observable
    redclsflg=""           // \lidgrp\rec\redclsflg    Red/Green Clause 

    @observable
    blk_insbnk=""           // \lidgrp\blk\insbnk    Instructions to Paying/Accepting/Negotiating Bank 

    @observable
    liaall_liaallg=[]           // \liaall\liaallg 

    @observable
    liaccv_concur=""           // \liaall\liaccv\concur    业务结算币种 

    @observable
    liaccv_newamt=""           // \liaall\liaccv\newamt    业务金额 

    @observable
    liaccv_cshpct=""           // \liaall\liaccv\cshpct    保证金应收比例 

    @observable
    liaccv_chgamt=""           // \liaall\liaccv\chgamt    变动金额 

    @observable
    liaccv_totcovamt=""           // \liaall\liaccv\totcovamt    保证金合计 

    @observable
    liaccv_pctresamt=""           // \liaall\liaccv\pctresamt    应收/支保证金 

    @observable
    liaccv_relcshpct=""           // \liaall\liaccv\relcshpct    保证金实收比例 

    @observable
    liaccv_liaccvg=[]           // \liaall\liaccv\liaccvg 

    @observable
    fegmod_feslst=[]           // \setmod\setfeg\fegmod\feslst 

    @observable
    glgmod_glslst=[]           // \setmod\setglg\glgmod\glslst 

    @observable
    setmod_doccur=""           // \setmod\doccur    document currency 

    @observable
    setmod_docamt=""           // \setmod\docamt    document amount 

    @observable
    setmod_feemac=""           // \setmod\feemac    FEEMAC 

    @observable
    setmod_setmac=""           // \setmod\setmac    SETMAC 

    @observable
    glemod_glelst=[]           // \setmod\glemod\glelst 

    @observable
    docmod_doclst=[]           // \trnmod\trndoc\docmod\doclst 

    @observable
    trndoc_docpth=""           // \trnmod\trndoc\docpth    面函路径 

    @observable
    trndoc_doccod=""           // \trnmod\trndoc\doccod    面函码值 

    @observable
    trndoc_cortyp=""           // \trnmod\trndoc\cortyp    Per Medium 

    @observable
    spt_inr=""           // \sysmod\spt\inr    唯一编号 

    @observable
    cnybop_cnyflg=""           // \cnybop\cnyflg    是否报送跨境人民币2101表 

    @observable
    cnybop_traflg=""           // \cnybop\traflg    是否报送跨境人民币2107表 

    @observable
    cnybop_outflg=""           // \cnybop\outflg    是否报送跨境人民币2111表 

    @observable
    cnybop_libflg=""           // \cnybop\libflg    是否报送跨境人民币2106表 

    @observable
    cnybop_vouflg=""           // \cnybop\vouflg    是否报送跨境人民币2122表 

    

    get descriptor()
    {
        return _descriptor
    }

    clear()
    {
            this.ownref=""
            this.lcrtyp=""
            this.usr_nam=""
            this.nom1_cur=""
            this.nom1_amt=""
            this.aammod_addamtflg=""
            this.nomtop=""
            this.nomton=""
            this.nomspc=""
            this.max_cur=""
            this.max_amt=""
            this.opndat=""
            this.preadvdt=""
            this.shpdat=""
            this.expdat=""
            this.expplc=""
            this.shppar=""
            this.shptrs=""
            this.apprul=""
            this.apprultxt=""
            this.cnfdet=""
            this.pts2_ref=""
            this.pts2_extkey=""
            this.pts2_adrblk=""
            this.pts1_ref=""
            this.pts1_extkey=""
            this.pts1_adrblk=""
            this.pts4_ref=""
            this.pts4_extkey=""
            this.pts4_adrblk=""
            this.rmbflg=""
            this.revflg=""
            this.nam=""
            this.resflg=""
            this.avbwth=""
            this.pts3_extkey=""
            this.pts3_adrblk=""
            this.avbby=""
            this.blk_defdet=""
            this.blk_dftat=""
            this.pts6_extkey=""
            this.pts6_adrblk=""
            this.shpfro=""
            this.porloa=""
            this.pordis=""
            this.shpto=""
            this.blk_shpper=""
            this.blk_preper=""
            this.blk_preperflg=""
            this.blk_feetxt=""
            this.chato=""
            this.stacty=""
            this.blk_mixdet=""
            this.tenmaxday=""
            this.litp_avblab=""
            this.pts7_ref=""
            this.pts7_extkey=""
            this.pts7_adrblk=""
            this.pts8_ref=""
            this.pts_ref=""
            this.pts_extkey=""
            this.pts_adrblk=""
            this.pts3_ref=""
            this.pts8_extkey=""
            this.pts8_adrblk=""
            this.pts5_extkey=""
            this.pts5_adrblk=""
            this.blk_lcrgod=""
            this.stagod=""
            this.blk_lcrdoc=""
            this.blk_adlcnd=""
            this.redclsflg=""
            this.blk_insbnk=""
            this.liaall_liaallg=[]
            this.liaccv_concur=""
            this.liaccv_newamt=""
            this.liaccv_cshpct=""
            this.liaccv_chgamt=""
            this.liaccv_totcovamt=""
            this.liaccv_pctresamt=""
            this.liaccv_relcshpct=""
            this.liaccv_liaccvg=[]
            this.fegmod_feslst=[]
            this.glgmod_glslst=[]
            this.setmod_doccur=""
            this.setmod_docamt=""
            this.setmod_feemac=""
            this.setmod_setmac=""
            this.glemod_glelst=[]
            this.docmod_doclst=[]
            this.trndoc_docpth=""
            this.trndoc_doccod=""
            this.trndoc_cortyp=""
            this.spt_inr=""
            this.cnybop_cnyflg=""
            this.cnybop_traflg=""
            this.cnybop_outflg=""
            this.cnybop_libflg=""
            this.cnybop_vouflg=""
    }

} 


export default Litopn