src/Entity/Channel/ProfessionalId/ProfessionalId.php line 18

Open in your IDE?
  1. <?php
  2. namespace App\Entity\Channel\ProfessionalId;
  3. use Doctrine\ORM\Mapping as ORM;
  4. use App\Repository\Channel\ProfessionalId\ProfessionalIdRepository;
  5. use DrosalysWeb\ObjectExtensions\Timestamp\Model\TimestampInterface;
  6. use DrosalysWeb\ObjectExtensions\Timestamp\Model\TimestampTrait;
  7. use Nellapp\Bundle\SDKBundle\Channel\Entity\ProfessionalId\ProfessionalIdIdInterface;
  8. use Nellapp\Bundle\SDKBundle\Channel\Entity\ProfessionalId\ProfessionalIdMethodTrait;
  9. use Symfony\Component\Serializer\Annotation as Serial;
  10. #[
  11.     ORM\Entity(repositoryClassProfessionalIdRepository::class),
  12.     ORM\Table(name'channel_professional_ids'),
  13.     ORM\InheritanceType('SINGLE_TABLE')
  14. ]
  15. abstract class ProfessionalId implements TimestampInterfaceProfessionalIdIdInterface
  16. {
  17.     use TimestampTrait;
  18.     use ProfessionalIdMethodTrait;
  19.     #[ORM\IdORM\GeneratedValueORM\Column(type'integer')]
  20.     #[Serial\Groups(['Sync'])]
  21.     private ?int $id null;
  22. }