Files
ws_customerspecialty/pchcustomerfield/override/classes/Customer.php
T
2026-07-09 14:38:01 +02:00

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);
}
}