DS7/DSWeb/Areas/MvcShipping/Viewsjs/MsOpAiri/MsOpAiriBasicModel.js

44 lines
1.1 KiB
JavaScript

Ext.define('OpSeaeShipper', {
extend: 'Ext.data.Model',
idProperty: 'SHIPPERID',
fields: [
{ name: 'SHIPPERID', type: 'string' },
{ name: 'CODENAME', type: 'string' },
{ name: 'SHORTNAME', type: 'string' },
{ name: 'CodeAndName', type: 'string' },
{ name: 'SHIPPERDETAIL', type: 'string' },
{ name: 'SHIPPERTYPE', type: 'int' },
{ name: 'LOADADDRESS', type: 'string' },
{ name: 'DELIVERADDRESS', type: 'string' },
{ name: 'ISPUBLIC', type: 'bool' }
]
});
Ext.define('CODE_FRT', {
extend: 'Ext.data.Model',
idProperty: 'FRT',
fields: [
{ name: 'FRT', type: 'string' },
{ name: 'FRTCNAME', type: 'string' },
{ name: 'EDICODE', type: 'string' }
]
});
Ext.define('CODE_BLTYPE', {
extend: 'Ext.data.Model',
idProperty: 'BLTYPE',
fields: [
{ name: 'BLTYPE', type: 'string' }
]
});
Ext.define('CODE_SERVICE', {
extend: 'Ext.data.Model',
idProperty: 'SERVICE',
fields: [
{ name: 'SERVICE', type: 'string' }
]
});