<?phpnamespace App\Entity;use App\Repository\OurStudentRepository;use Doctrine\ORM\Mapping as ORM;use Gedmo\Mapping\Annotation as Gedmo;#[ORM\Entity(repositoryClass: OurStudentRepository::class)]#[ORM\HasLifecycleCallbacks]class OurStudent{ use \App\Traits\EntityDateTimeAbleTrait; const STATUS_ACTIVE = 1; const STATUS_INACTIVE = 0; const TYPE_ARTICLE = 1; const TYPE_VIDEO = 2; #[ORM\Id] #[ORM\GeneratedValue] #[ORM\Column(type: 'integer')] private $id; /** * @Gedmo\Translatable */ #[ORM\Column(type: 'string', length: 255, nullable: true)] private ?string $title = null; /** * @Gedmo\Translatable */ #[ORM\Column(type: 'text', nullable: true)] private ?string $content = null; #[ORM\Column(type: 'string', length: 255, nullable: true)] private ?string $image = null; #[ORM\Column(type: 'string', length: 255, nullable: true)] private ?string $video = null; #[ORM\Column(type: 'boolean', nullable: true)] private ?bool $status = null; #[ORM\Column(type: 'integer', nullable: true)] private ?int $type = null; public function getId(): ?int { return $this->id; } public function getTitle(): ?string { return $this->title; } public function setTitle(?string $title): self { $this->title = $title; return $this; } public function getContent(): ?string { return $this->content; } public function setContent(?string $content): self { $this->content = $content; return $this; } public function getImage(): ?string { return $this->image; } public function setImage(?string $image): self { $this->image = $image; return $this; } public function getVideo(): ?string { return $this->video; } public function setVideo(?string $video): self { $this->video = $video; return $this; } public function getStatus(): ?bool { return $this->status; } public function setStatus(?bool $status): self { $this->status = $status; return $this; } public function getType(): ?int { return $this->type; } public function setType(?int $type): self { $this->type = $type; return $this; }}