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

@modelWrapper
class Detsel {
    
    @observable
    ownref1=""           // \dedgrp\rec\ownref    业务编号 

    @observable
    nam1=""           // \dedgrp\rec\nam    概要描述 

    @observable
    detmod_clsflg=""           // \detmod\clsflg    闭卷业务 

    @observable
    opndat1=""           // \dedgrp\rec\opndat    开立日期 

    @observable
    max1_cur=""           // \dedgrp\cbs\max\cur    Currency 

    @observable
    max1_amt=""           // \dedgrp\cbs\max\amt    Balance 

    @observable
    opn11_cur=""           // \dedgrp\cbs\opn1\cur    Currency 

    @observable
    opn11_amt=""           // \dedgrp\cbs\opn1\amt    Balance 

    @observable
    expdat=""           // \dedgrp\rec\expdat    有效日期 

    @observable
    avbby=""           // \dedgrp\rec\avbby    信用证对付方式 

    @observable
    expplc=""           // \dedgrp\rec\expplc    有效地点 

    @observable
    pts1_namcn=""           // \dedgrp\apl\pts\namcn    客户中文名称 

    @observable
    pts2_namcn=""           // \dedgrp\ben\pts\namcn    客户中文名称 

    @observable
    pts3_namcn=""           // \dedgrp\iss\pts\namcn    客户中文名称 

    @observable
    cfgfil_cfga=[]           // \cfgfil\cfga 

    @observable
    ownref=""           // \bmdgrp\rec\ownref    Own Reference BE Number 

    @observable
    bmtmod_bmdlst=[]           // \bmtmod\bmdlst 
    
    @observable
    bmtmod_clsflg=""           // \bmtmod\clsflg    闭卷业务 

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

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

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

    @observable
    opn1_cur=""           // \bmdgrp\cbs\opn1\cur    Currency 单据余额货币

    @observable
    opn1_amt=""           // \bmdgrp\cbs\opn1\amt    Balance  单据余额

    @observable
    opndat=""           // \bmdgrp\rec\opndat    Date Opened/Issued 

    @observable
    matdat=""           // \bmdgrp\rec\matdat    Maturity Date 

    @observable
    accdat=""           // \bmdgrp\rec\accdat    Acceptance Date 

    @observable
    doctypcod=""           // \bmdgrp\rec\doctypcod    Document Type 

    @observable
    expmno=""           // \bmdgrp\rec\expmno    快递单号 

    @observable
    pts_namcn=""           // \dedgrp\adv\pts\namcn    客户中文名称 

    @observable
    cfgfil_cfgb=[]           // \cfgfil\cfgb 

    @observable
    detmod_dedlst=[]           // \detmod\dedlst        

    

    get descriptor()
    {
        return _descriptor
    }

    clear()
    {
            this.ownref1=""
            this.nam1=""
            this.detmod_clsflg=""
            this.opndat1=""
            this.max1_cur=""
            this.max1_amt=""
            this.opn11_cur=""
            this.opn11_amt=""
            this.expdat=""
            this.avbby=""
            this.expplc=""
            this.pts1_namcn=""
            this.pts2_namcn=""
            this.pts3_namcn=""
            this.cfgfil_cfga=[]
            this.ownref=""
            this.bmtmod_clsflg=""
            this.nam=""
            this.max_cur=""
            this.max_amt=""
            this.opn1_cur=""
            this.opn1_amt=""
            this.opndat=""
            this.matdat=""
            this.accdat=""
            this.doctypcod=""
            this.expmno=""
            this.pts_namcn=""
            this.cfgfil_cfgb=[]
            this.detmod_dedlst=[]
            this.bmtmod_bmdlst=[]
    }

} 


export default Detsel