<?php

namespace App\Entity\Common;

use Lc\CaracoleBundle\Repository\Common\UnitRepository;
use Doctrine\ORM\Mapping as ORM;
use Lc\CaracoleBundle\Model\Common\UnitInterface;
use Lc\CaracoleBundle\Model\Common\UnitModel;

/**
 * @ORM\Entity(repositoryClass=UnitRepository::class)
 */
class Unit extends UnitModel implements UnitInterface
{
    /**
     * @ORM\Id
     * @ORM\GeneratedValue
     * @ORM\Column(type="integer")
     */
    private $id;

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