<?php

namespace Template\Entity;

/**
 * @Entity
 * @Table(name="color")
 */
class Color
{
    /**
     * @Id
     * @GeneratedValue
     * @Column(type="integer")
     */
    private $id;
    /**
     * @Column(type="string")
     */
    private $colorFirst;
    /**
     * @Column(type="string")
     */
    private $colorSecond;

    public function setId(int $id): self
    {
        $this->id = $id;

        return $this;
    }

    public function getId(): int
    {
        return $this->id;
    }

    public function getColorFirst(): string
    {
        return $this->colorFirst;
    }

    public function setColorFirst(string $colorFirst): self
    {
        $this->colorFirst = $colorFirst;

        return $this;
    }

    public function getColorSecond(): string
    {
        return $this->colorSecond;
    }

    public function setColorSecond(string $colorSecond): self
    {
        $this->colorSecond = $colorSecond;

        return $this;
    }
}
