@@ -26,6 +26,7 @@ class TypeFieldDefinition extends AbstractFieldDefinition | |||
'image', | |||
'title', | |||
'color', | |||
'devAlias' | |||
]; | |||
} | |||
@@ -4,6 +4,7 @@ namespace Lc\PietroBundle\Model\Workshop; | |||
use Doctrine\ORM\Mapping as ORM; | |||
use Lc\SovBundle\Doctrine\EntityInterface; | |||
use Lc\SovBundle\Doctrine\Extension\DevAliasTrait; | |||
use Lc\SovBundle\Doctrine\Extension\ImageTrait; | |||
/** | |||
@@ -12,6 +13,7 @@ use Lc\SovBundle\Doctrine\Extension\ImageTrait; | |||
abstract class Type implements TypeInterface, EntityInterface | |||
{ | |||
use ImageTrait; | |||
use DevAliasTrait; | |||
/** | |||
* @ORM\Column(type="string", length=255) |