Joywork/import/document/entity/Dir.php
2026-05-22 21:21:54 +03:00

43 lines
620 B
PHP

<?php
class Dir
{
private $id = 0;
private $name = '';
private $parent = 0;
public function __construct($id, $name, $parent)
{
$this->id = $id;
$this->name = $name;
$this->parent = $parent;
}
/**
* @return mixed
*/
public function getId() {
return $this->id;
}
/**
* @return mixed
*/
public function getName() {
return $this->name;
}
/**
* @return int
*/
public function getParent() {
return $this->parent;
}
public function isRoot()
{
return false;
}
}