Sfoglia il codice sorgente

Workshop type : ajout champs devAlias

develop
Guillaume 2 anni fa
parent
commit
43bafc92b0
2 ha cambiato i file con 3 aggiunte e 0 eliminazioni
  1. +1
    -0
      Definition/Field/Workshop/TypeFieldDefinition.php
  2. +2
    -0
      Model/Workshop/Type.php

+ 1
- 0
Definition/Field/Workshop/TypeFieldDefinition.php Vedi File

@@ -26,6 +26,7 @@ class TypeFieldDefinition extends AbstractFieldDefinition
'image',
'title',
'color',
'devAlias'
];
}


+ 2
- 0
Model/Workshop/Type.php Vedi File

@@ -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)

Loading…
Annulla
Salva