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

@modelWrapper
class Dberol {
    
    @observable
    rolp_fillst=[]           // \rolp\fillst 

    @observable
    extkey=""           // \rolgrp\rec\extkey    角色编码 

    @observable
    rolnam=""           // \rolgrp\rec\rolnam    角色名称 

    @observable
    rollev=""           // \rolgrp\rec\rollev    级别 

    @observable
    remark=""           // \rolgrp\rec\remark    备注 

    @observable
    inr=""           // \rolgrp\rec\inr    唯一编号 

    @observable
    credat=""           // \rolgrp\rec\credat    创建时间 

    @observable
    etyextkey=""           // \rolgrp\rec\etyextkey    实体 

    

    get descriptor()
    {
        return _descriptor
    }

    clear()
    {
            this.rolp_fillst=[]
            this.extkey=""
            this.rolnam=""
            this.rollev=""
            this.remark=""
            this.inr=""
            this.credat=""
            this.etyextkey=""
    }

} 


export default Dberol