<?php
namespace App\Entity;
use Doctrine\ORM\Mapping as ORM;
class Tag {
/**
* @var integer
*/
private $id;
/**
* @var string
*/
private $tagName;
/**
* @var \App\Entity\TagGroup
*/
private $tagGroup;
/**
* Get id
*
* @return integer
*/
public function getId() {
return $this->id;
}
/**
* Set tagName
*
* @param string $tagName
*
* @return Tag
*/
public function setTagName($tagName) {
$this->tagName = $tagName;
return $this;
}
/**
* Get tagName
*
* @return string
*/
public function getTagName() {
return $this->tagName;
}
/**
* Set tagGroup
*
* @param \App\Entity\TagGroup $tagGroup
*
* @return Tag
*/
public function setTagGroup(\App\Entity\TagGroup $tagGroup = null) {
$this->tagGroup = $tagGroup;
return $this;
}
/**
* Get tagGroup
*
* @return \App\Entity\TagGroup
*/
public function getTagGroup() {
return $this->tagGroup;
}
}