import { action, observable } from 'mobx'
import _descriptor from '../descriptor'
import {validate} from '@/components/Common-Library'
//实体



class Cptsel {
    
    @observable
    @validate
    diptyp=""

    @observable
    @validate
    cur=""

    @observable
    @validate
    cpdflg=""

    @observable
    @validate
    valdat=""

    @observable
    @validate
    orcnam=""

    @observable
    @validate
    orinam=""

    @observable
    @validate
    pyenam=""

    @observable
    @validate
    pybnam=""

    @observable
    @validate
    ownref=""

    @observable
    @validate
    amt=""

    @observable
    @validate
    nam=""

    @observable
    @validate
    paytyp=""

    

    get descriptor()
    {
        return _descriptor
    }

    clear()
    {
            this.diptyp=""
            this.cur=""
            this.cpdflg=""
            this.valdat=""
            this.nam0=""
            this.ownref=""
            this.amt=""
            this.nam=""
            this.paytyp=""
    }

} 


export default Cptsel