// Remove $table and $identifier property from all classes, and add static $definition instead
This commit is contained in:
1 parent
e501530475
commit
b59ddba454
87 files changed
+394
-214
No files matched your search
@@ -83,8 +83,10 @@ class WarehouseCore extends ObjectModel
|
||||
'id_currency' => 'isUnsignedId'
|
||||
);
|
||||
|
||||
protected $table = 'warehouse';
|
||||
protected $identifier = 'id_warehouse';
|
||||
public static $definition = array(
|
||||
'table' => 'warehouse',
|
||||
'primary' => 'id_warehouse',
|
||||
);
|
||||
|
||||
public function getFields()
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user