document.inc.php 1.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. <?php
  2. class Document {
  3. private $id = NULL;
  4. private $fileName = NULL;
  5. private $path = NULL;
  6. private $labelId = NULL;
  7. private $draft = NULL;
  8. private $created = NULL;
  9. private $lastChange = NULL;
  10. public function __construct($id, $fileName, $path, $labelId, $draft, $created, $lastChange) {
  11. $this->id = $id;
  12. $this->fileName = $fileName;
  13. $this->path = $path;
  14. $this->labelId = $labelId;
  15. $this->draft = $draft;
  16. $this->created = $created;
  17. $this->lastChange = $lastChange;
  18. }
  19. public function getId() {
  20. return $this->id;
  21. }
  22. public function getFileName() {
  23. return $this->fileName;
  24. }
  25. public function getPath() {
  26. return $this->path;
  27. }
  28. public function getDraft() {
  29. return $this->draft;
  30. }
  31. public function getCreated() {
  32. return $this->created;
  33. }
  34. public function getLastChange() {
  35. return $this->lastChange;
  36. }
  37. }
  38. ?>