<?php
namespace App;
use Doctrine\ORM\Mapping as ORM;
use Kdyby\Doctrine\Entities\BaseEntity;
/**
* @ORM\Entity
*
* @package App
*/
class User extends BaseEntity
{
/**
* @ORM\Id
* @ORM\Column(type="integer")
* @ORM\GeneratedValue
*/
protected $id;
/**
* @ORM\Column(length=20)
*/
protected $name;
/**
* @ORM\Column(length=30)
*/
protected $surname;
/**
* @ORM\Column(length=40)
*/
protected $mail;
/**
* @ORM\Column(length=60)
*/
protected $password;
/**
* @ORM\Column(type="integer")
*/
protected $businessId;
/**
* TODO: tasks
*/
protected $tasks;
}