|
@@ -11,7 +11,6 @@ use Symfony\Component\Validator\Constraints as Assert;
|
|
|
*
|
|
|
* @UniqueEntity("name")
|
|
|
* @UniqueEntity("shortname")
|
|
|
- * @UniqueEntity("opcode")
|
|
|
*/
|
|
|
class HostType
|
|
|
{
|
|
@@ -47,8 +46,6 @@ class HostType
|
|
|
* @var string $opcode
|
|
|
*
|
|
|
* @ORM\Column(type="string", length=100, unique=true)
|
|
|
- *
|
|
|
- * @Assert\NotBlank
|
|
|
*/
|
|
|
protected $opcode;
|
|
|
|