feat(main): Old module
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
<?php
|
||||
use PrestaShop\PrestaShop\Adapter\ServiceLocator;
|
||||
use PrestaShop\PrestaShop\Adapter\CoreException;
|
||||
/***
|
||||
* Class CustomerCore
|
||||
*/
|
||||
class Customer extends CustomerCore
|
||||
{
|
||||
/*
|
||||
* module: pchcustomerfield
|
||||
* date: 2022-06-03 09:46:12
|
||||
* version: 1.0.0
|
||||
*/
|
||||
|
||||
public $specialization;
|
||||
public function __construct($id = null)
|
||||
{
|
||||
self::$definition['fields']['specialization'] = array('type' => self::TYPE_INT, 'validate' => 'isUnsignedId');
|
||||
parent::__construct($id);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user