//模块 ${javaClassRef.getComment()}
const ${javaClassRef.getClassName()} = {
#foreach( ${attrRef} in ${javaClassRef.getAttributes()} )
#if(${attrRef.getClassName().equals("TenantId")})
#else
  ${attrRef.getClassName()}: { label: '${attrRef.getComment()}', prop: '${attrRef.getRefName()}' },
#end
#end
  moduleName: '${javaClassRef.getClassName()}'
}

import BaseApi from '@common/Api'

class ${javaClassRef.getClassName()}Axios extends BaseApi {
  constructor(resourceName) {
    super(resourceName)
  }
  xx(dto) {
    let config = { method: 'post', url: '', data: dto }
    return super.request(config)
  }
}

const ${javaClassRef.getClassName()}Api = new ${javaClassRef.getClassName()}Axios('${javaClassRef.getClassName()}')

export { ${javaClassRef.getClassName()}, ${javaClassRef.getClassName()}Api }
