resq/src/Entity/CustomerUser.php
2023-02-08 02:24:25 +08:00

40 lines
667 B
PHP

<?php
namespace App\Entity;
use Doctrine\ORM\Mapping as ORM;
use Doctrine\Common\Collections\ArrayCollection;
use Catalyst\ApiBundle\Entity\User as BaseUser;
/**
* @ORM\Entity
* @ORM\Table(name="customer_user")
*/
class CustomerUser extends BaseUser
{
public function __construct()
{
parent::__construct();
}
/**
* @ORM\Column(type="string", length=180)
*/
protected $name;
/**
* @ORM\Column(type="boolean")
*/
protected $enabled;
public function setName($name)
{
$this->name = $name;
return $this;
}
public function getName()
{
return $this->name;
}
}