Ext.define('WMSRateModel', { extend: 'Ext.data.Model', idProperty: 'GID', fields: [ {name: 'GID', type: 'string' }, //GID {name: 'FEEGRADE', type: 'int' }, //FEEGRADE {name: 'FEESCALE', type: 'int' }, //FEESCALE {name: 'FEEPRICE', type: 'decimal' }, //FEEPRICE {name: 'FEEUNIT', type: 'string' }, //FEEUNIT {name: 'MODIFIEDUSER', type: 'string' }, //MODIFIEDUSER {name: 'MODIFIEDTIME', type: 'DateTime' }, //MODIFIEDTIME {name: 'REMARK', type: 'string' }, //REMARK {name: 'BSNO', type: 'string' }, //BSNO {name: 'CUSTOMERNAME', type: 'string' }, //CUSTOMERNAME {name: 'FEETYPE', type: 'int' }, //FEETYPE {name: 'ENDBILLINGDATE', type: 'DateTime' }, //ENDBILLINGDATE //{name: 'ENDBILLINGDATE', type: 'date', dateFormat: 'Y-m-d' }, //ENDBILLINGDATE {name: 'ADDPRICE', type: 'decimal' }, //ADDPRICE {name: 'RATETYPE', type: 'int' }, //RATETYPE {name: 'FEENAME', type: 'string' }, //FEENAME {name: 'ISCHANGE', type: 'bool' }, //ISCHANGE {name: 'CAPPRICE', type: 'decimal' }, //CAPPRICE {name: 'FEETYPENAME', type: 'string' }, //FEETYPENAME ] });