mirror of
https://github.com/ToxicCrack/PrintABrick.git
synced 2025-05-18 05:10:07 -07:00
35 lines
477 B
PHP
35 lines
477 B
PHP
<?php
|
|
|
|
namespace AppBundle\Entity\Traits;
|
|
|
|
trait NumberTrait
|
|
{
|
|
/**
|
|
* @var string
|
|
*
|
|
* @ORM\Id
|
|
* @ORM\Column(name="id", type="string", length=255, unique=true)
|
|
*/
|
|
protected $id;
|
|
|
|
/**
|
|
* @return string
|
|
*/
|
|
public function getId()
|
|
{
|
|
return $this->id;
|
|
}
|
|
|
|
/**
|
|
* @param string $id
|
|
*
|
|
* @return mixed
|
|
*/
|
|
public function setId($id)
|
|
{
|
|
$this->id = $id;
|
|
|
|
return $this;
|
|
}
|
|
}
|