mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-28 02:23:51 +00:00
Apply rector rules: add annotation for doctrine mapping
This commit is contained in:
@@ -15,7 +15,6 @@ use Chill\ThirdPartyBundle\Repository\ThirdPartyCategoryRepository;
|
||||
use Doctrine\ORM\Mapping as ORM;
|
||||
use Symfony\Component\Serializer\Annotation as Serializer;
|
||||
|
||||
|
||||
#[ORM\Entity(repositoryClass: ThirdPartyCategoryRepository::class)]
|
||||
#[ORM\Table(name: 'chill_3party.party_category')]
|
||||
class ThirdPartyCategory
|
||||
@@ -23,7 +22,6 @@ class ThirdPartyCategory
|
||||
#[ORM\Column(type: \Doctrine\DBAL\Types\Types::BOOLEAN)]
|
||||
private bool $active = true;
|
||||
|
||||
|
||||
#[Serializer\Groups(['docgen:read'])]
|
||||
#[ORM\Id]
|
||||
#[ORM\GeneratedValue]
|
||||
|
Reference in New Issue
Block a user