Ext.define('MsCwAccitemsDaterp', { extend: 'Ext.data.Model', idProperty: 'GID', fields: [ { name: 'GID', type: 'string' }, { name: 'ACCDATE', type: 'string' }, { name: 'OPDATE', type: 'string' }, { name: 'GIFTAMT', type: 'number' }, { name: 'ENTERTAINMENTAMT', type: 'number' }, { name: 'TRAVELLINGAMT', type: 'number' }, { name: 'OFFICESUPPLIESAMT', type: 'number' }, { name: 'AUTOREPAIRAMT', type: 'number' }, { name: 'ADPRINTINGAMT', type: 'number' }, { name: 'CREATEUSER', type: 'string' }, { name: 'CREATEUSERREF', type: 'string' }, { name: 'CREATETIME', type: 'string' } ] }); Ext.define('MsCwAccitemsDaterpDetail', { extend: 'Ext.data.Model', fields: [ { name: 'GID', type: 'string' }, { name: 'LINKGID', type: 'string' }, { name: 'ACCPROP', type: 'string' }, { name: 'ACCNAME', type: 'string' }, { name: 'AMTDR', type: 'number' }, { name: 'AMTCR', type: 'number' }, { name: 'USDAMTDR', type: 'number' }, { name: 'USDAMTCR', type: 'number' }, { name: 'HKDAMTDR', type: 'number' }, { name: 'HKDAMTCR', type: 'number' } ] });