22 lines
510 B
PHP
22 lines
510 B
PHP
<?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);
|
|
}
|
|
}
|