for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Cothema\Model\User;
use Doctrine\ORM\Mapping as ORM;
use \Kdyby\Doctrine\Entities;
/**
* @ORM\Entity
* @ORM\Table(name="users")
*/
class User extends Entities\BaseEntity
{
use Entities\Attributes\Identifier;
* @ORM\Column(name="firstname",type="text")
public $firstName;
* @ORM\Column(name="lastname",type="text")
public $lastName;
* @ORM\Column(type="text")
public $email;
* @ORM\Column(type="boolean")
public $active;
public $username;
public $role;
* @ORM\Column(type="bigint")
public $facebookId;
public $facebookToken;
public function getFullName()
return trim($this->firstName . " " . $this->lastName);
}