You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

33 lines
1.1 KiB
JavaScript

11 months ago
Ext.define('MsOpFenDetail', {
extend: 'Ext.data.Model',
idProperty: 'GID',
fields: [
{ name: 'GID', type: 'string' },
{ name: 'COILNO', type: 'string' },
{ name: 'SIZE', type: 'string' },
{ name: 'COLOUR', type: 'string' },
{ name: 'NWKGS', type: 'float' },
{ name: 'GWKGS', type: 'float' },
{ name: 'NLENGTH', type: 'int' },
{ name: 'TGKGS', type: 'float' },
{ name: 'FXNO', type: 'string' },
{ name: 'XMODEL', type: 'string' },
{ name: 'LIKGS', type: 'float' },
{ name: 'FXMARK', type: 'int' },
{ name: 'IOMARK', type: 'int' },
{ name: 'FXCOLNO', type: 'string' },
{ name: 'OPERUSER', type: 'string' },
{ name: 'OPERTIME', type: 'date' }
]
});
/*
* type : String/Object
* 字段的数据类型, 用于在没有定义convert时, 把接收数据转换为存储值进行自动类型转换. 用一个字符串来定义. 允许以下值:
*
* auto (默认值, 意味着无convert方法)
* string
* int
* float/number
* boolean
* date
*/