<?php
namespace Nellapp\Bundle\SDKBundle\Google\Entity\GoogleDriveItem;
use Doctrine\ORM\Mapping as ORM;
use DrosalysWeb\ObjectExtensions\Timestamp\Model\TimestampTrait;
use Nellapp\Bundle\SDKBundle\Google\Entity\GoogleDriveFolder;
#[ORM\MappedSuperclass]
abstract class GoogleDriveItem implements GoogleDriveItemInterface
{
use GoogleDriveItemMethodTrait;
use TimeStampTrait;
#[ORM\Column(type: 'integer'), ORM\GeneratedValue, ORM\Id]
private ?int $id = null;
#[ORM\Column(type: 'string', nullable: false)]
private ?string $name = null;
#[ORM\Column(type: 'string', nullable: false)]
private ?string $googleId = null;
#[ORM\ManyToOne(targetEntity: GoogleDriveFolder::class)]
#[ORM\JoinColumn(nullable: true, onDelete: 'CASCADE')]
private ?GoogleDriveFolder $parent = null;
}