PageRenderTime 53ms CodeModel.GetById 27ms RepoModel.GetById 0ms app.codeStats 0ms

/module/DeviceManager/src/DeviceManager/Model/DeviceType.php

https://gitlab.com/jeann2015/nexus
PHP | 68 lines | 43 code | 15 blank | 10 comment | 0 complexity | bed1ed90b5d7372f7719628e3736ee52 MD5 | raw file
Possible License(s): BSD-3-Clause
  1. <?php
  2. /*
  3. * To change this license header, choose License Headers in Project Properties.
  4. * To change this template file, choose Tools | Templates
  5. * and open the template in the editor.
  6. */
  7. namespace DeviceManager\Model;
  8. use Generic\Model\Generic;
  9. /**
  10. * Description of Role
  11. *
  12. * @author rodolfo
  13. */
  14. class DeviceType extends Generic {
  15. public $type;
  16. public $ports;
  17. public $initemplate_id;
  18. public $firmware_id;
  19. public $active;
  20. public function getType() {
  21. return $this->type;
  22. }
  23. public function getPorts() {
  24. return $this->ports;
  25. }
  26. public function getInitemplateId() {
  27. return $this->initemplate_id;
  28. }
  29. public function getFirmwareId() {
  30. return $this->firmware_id;
  31. }
  32. public function getActive() {
  33. return $this->active;
  34. }
  35. public function getInbroadsoft() {
  36. return $this->inbroadsoft;
  37. }
  38. public function setType($type) {
  39. $this->type = $type;
  40. }
  41. public function setPorts($ports) {
  42. $this->ports = $ports;
  43. }
  44. public function setInitemplateId($initemplate_id) {
  45. $this->initemplate_id = $initemplate_id;
  46. }
  47. public function setActive($active) {
  48. $this->active = $active;
  49. }
  50. public function setInbroadsoft($inbroadsoft) {
  51. $this->inbroadsoft = $inbroadsoft;
  52. }
  53. }