<?phpnamespace App\Entity;use App\Repository\UserLogRepository;use Doctrine\DBAL\Types\Types;use Doctrine\ORM\Mapping as ORM;#[ORM\Entity(repositoryClass: UserLogRepository::class), ORM\Table(name: 'user_activity_log')]class UserLog{ #[ORM\Id] #[ORM\GeneratedValue] #[ORM\Column] private ?int $id = null; #[ORM\Column] private ?int $user_id = null; #[ORM\Column] private ?int $hospital_id = null; #[ORM\Column(length: 255)] private ?string $action = null; #[ORM\Column(length: 255)] private ?string $file_path = null; #[ORM\Column(type: Types::DATETIME_MUTABLE)] private ?\DateTimeInterface $created_date = null; #[ORM\Column(type: Types::DATETIME_MUTABLE, nullable: true)] private ?\DateTimeInterface $updated_at = null; public function getId(): ?int { return $this->id; } public function getUserId(): ?int { return $this->user_id; } public function setUserId(int $user_id): self { $this->user_id = $user_id; return $this; } public function getHospitalId(): ?int { return $this->hospital_id; } public function setHospitalId(int $hospital_id): self { $this->hospital_id = $hospital_id; return $this; } public function getAction(): ?string { return $this->action; } public function setAction(string $action): self { $this->action = $action; return $this; } public function getFilePath(): ?string { return $this->file_path; } public function setFilePath(string $file_path): self { $this->file_path = $file_path; return $this; } public function getCreatedDate(): ?\DateTimeInterface { return $this->created_date; } public function setCreatedDate(\DateTimeInterface $created_date): self { $this->created_date = $created_date; return $this; } public function getUpdatedAt(): ?\DateTimeInterface { return $this->updated_at; } public function setUpdatedAt(?\DateTimeInterface $updated_at): self { $this->updated_at = $updated_at; return $this; }}