<?php

namespace Myvetshop\Module\Clinique\Entity;

use Doctrine\Common\Collections\ArrayCollection;
use Doctrine\Common\Collections\Collection;
use Doctrine\ORM\Mapping as ORM;

/**
 * @ORM\Table(name="ps_myvetshop_theme")
 *
 * @ORM\Entity(repositoryClass="Myvetshop\Module\Clinique\Repository\MyvetshopThemeRepository")
 */
class MyvetshopTheme
{
    /**
     * @ORM\Id()
     *
     * @ORM\Column(name="id_myvetshop_theme", type="integer")
     *
     * @ORM\GeneratedValue(strategy="AUTO")
     */
    protected ?int $id = null;

    /**
     * @ORM\Column(type="string", name="name", length=128, nullable=false)
     */
    public string $name;

    /**
     * @ORM\Column(type="string", name="color_1", length=7, nullable=false)
     */
    public string $color1;

    /**
     * @ORM\Column(type="string", name="color_2", length=7, nullable=false)
     */
    public string $color2;

    /**
     * @ORM\Column(type="string", name="color_3", length=7, nullable=false)
     */
    public string $color3;

    /**
     * @ORM\Column(type="string", name="color_4", length=7, nullable=false)
     */
    public string $color4;

    /**
     * @ORM\Column(type="string", name="color_5", length=7, nullable=false)
     */
    public string $color5;

    /**
     * @ORM\OneToMany(targetEntity="MyvetshopClinique", mappedBy="myvetshopTheme")
     *
     * @var Collection<int, MyvetshopClinique>
     */
    public Collection $cliniques;

    public function __construct()
    {
        $this->cliniques = new ArrayCollection();
    }

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