Joywork/import/document/entity/File.php

41 lines
574 B
PHP
Raw Normal View History

2026-05-22 20:21:54 +02:00
<?php
class File
{
private $id;
private $name;
private $url;
private $parent;
public function __construct($id, $name, $url, $parent=0)
{
$this->id = $id;
$this->name = $name;
$this->url = $url;
$this->parent = $parent;
}
public function getId()
{
return $this->id;
}
public function getName()
{
return $this->name;
}
public function getParent()
{
return $this->parent;
}
public function getUrl()
{
return $this->url;
}
}