BomComposite.js 1006 B

123456789101112131415161718192021222324
  1. Ext.define('make.model.make.BomComposite', {
  2. extend: 'saas.model.Base',
  3. fields: [
  4. { name: 'id', type: 'int' },
  5. { name: 'bd_bomid', type: 'int' },
  6. { name: 'bd_detno', type: 'int' },
  7. { name: 'bd_sonid', type: 'int' },
  8. { name: 'bd_soncode', type: 'string' },
  9. { name: 'bd_unit', type: 'string' },
  10. { name: 'bd_baseqty', type: 'float' },
  11. { name: 'bd_replace', type: 'string' },
  12. { name: 'bd_remark', type: 'string' },
  13. { name: 'companyid', type: 'int' },
  14. { name: 'updaterId', type: 'int' },
  15. { name: 'updatetime', type: 'date' },
  16. { name: 'pd_text1', type: 'string' },
  17. { name: 'pd_text2', type: 'string' },
  18. { name: 'pd_text3', type: 'string' },
  19. { name: 'pd_text4', type: 'string' },
  20. { name: 'pd_text5', type: 'string' }
  21. ],
  22. //一对一映射
  23. //associations: [{ type: 'hasOne', model: 'saas.model.document.ProductDTO', associationKey: 'ProductDTO'}]
  24. });