<?php
namespace App\Entity;
use Doctrine\ORM\Mapping as ORM;
class Color {
/**
* @var integer
*/
private $id;
/**
* @var string
*/
private $colorName;
/**
* @var \App\Entity\ColorGroup
*/
private $colorGroup;
/**
* Get id
*
* @return integer
*/
public function getId() {
return $this->id;
}
/**
* Set colorName
*
* @param string $colorName
*
* @return Color
*/
public function setColorName($colorName) {
$this->colorName = $colorName;
return $this;
}
/**
* Get colorName
*
* @return string
*/
public function getColorName() {
return $this->colorName;
}
/**
* Set colorGroup
*
* @param \App\Entity\ColorGroup $colorGroup
*
* @return Color
*/
public function setColorGroup(\App\Entity\ColorGroup $colorGroup = null) {
$this->colorGroup = $colorGroup;
return $this;
}
/**
* Get colorGroup
*
* @return \App\Entity\ColorGroup
*/
public function getColorGroup() {
return $this->colorGroup;
}
}