// employee can now be multishop
This commit is contained in:
@@ -78,6 +78,7 @@ class EmployeeCore extends ObjectModel
|
|||||||
public static $definition = array(
|
public static $definition = array(
|
||||||
'table' => 'employee',
|
'table' => 'employee',
|
||||||
'primary' => 'id_employee',
|
'primary' => 'id_employee',
|
||||||
|
'multishop' => 'true',
|
||||||
'fields' => array(
|
'fields' => array(
|
||||||
'lastname' => array('type' => self::TYPE_STRING, 'validate' => 'isName', 'required' => true, 'size' => 32),
|
'lastname' => array('type' => self::TYPE_STRING, 'validate' => 'isName', 'required' => true, 'size' => 32),
|
||||||
'firstname' => array('type' => self::TYPE_STRING, 'validate' => 'isName', 'required' => true, 'size' => 32),
|
'firstname' => array('type' => self::TYPE_STRING, 'validate' => 'isName', 'required' => true, 'size' => 32),
|
||||||
|
|||||||
Reference in New Issue
Block a user