<?php
namespace App\Entity\System;
use Doctrine\ORM\Mapping as ORM;
/**
* @ORM\Entity(repositoryClass="App\Repository\System\ProfileRepository")
*
* @ORM\Table(name="ps_profile")
*/
class Profile
{
public const ROOT_ID = 1;
public const NEW_USER_ID = 30;
public const SUPPORT_ID = 12;
public const COMMERCIAL_ROOT_ID = 20;
public const TECH_SUPPORT_ID = 25;
/** @var int
* @ORM\Id()
*
* @ORM\GeneratedValue(strategy="NONE")
*
* @ORM\Column(type="integer", name="id_profile", options={"unsigned":true})
*/
private $id;
/** @var string
* @ORM\Column(type="string", length=25)
*/
private $name;
/**
* @return int
*/
public function getId(): int
{
return $this->id;
}
/**
* @param int $id
*
* @return Profile
*/
public function setId(int $id): Profile
{
$this->id = $id;
return $this;
}
/**
* @return string
*/
public function getName(): string
{
return $this->name;
}
/**
* @param string $name
*
* @return Profile
*/
public function setName(string $name): Profile
{
$this->name = $name;
return $this;
}
}