Ext.define('MsWlTyreAcc', { extend: 'Ext.data.Model', idProperty: 'SerialNo', fields: [ { name: 'SerialNo', type: 'number' }, { name: 'TruckNo', type: 'string' }, { name: 'TruckNo_Ref', type: 'string' }, { name: 'PluCode', type: 'string' }, { name: 'PluCode_Ref', type: 'string' }, { name: 'Spec', type: 'string' }, { name: 'TyreType', type: 'string' }, { name: 'TyreType_Ref', type: 'string' }, { name: 'TyrePos', type: 'string' }, { name: 'TyrePos_Ref', type: 'string' }, { name: 'PcNo', type: 'string' }, { name: 'PlanMil', type: 'number' }, { name: 'UseDate', type: 'string' }, { name: 'RoofDate', type: 'string' }, { name: 'RealMil', type: 'number' }, { name: 'ScrapDate', type: 'string' }, { name: 'ScrapMil', type: 'number' }, { name: 'YkMil', type: 'number' }, { name: 'OrgCode', type: 'string' }, { name: 'Remark', type: 'string' } ] }); Ext.define('MsWlTyreAccRefMsWlTruck', { extend: 'Ext.data.Model', fields: [ { name: 'TruckNo', type: 'string' }, { name: 'TruckSpec', type: 'string' }, { name: 'CodeAndName', type: 'string' } ] });