php_session.class.php 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151
  1. <?php
  2. namespace Entity;
  3. use Doctrine\ORM\Mapping as ORM;
  4. /**
  5. *
  6. * @license see /license.txt
  7. * @author autogenerated
  8. */
  9. class PhpSession extends \Entity
  10. {
  11. /**
  12. * @return \Entity\Repository\PhpSessionRepository
  13. */
  14. public static function repository(){
  15. return \Entity\Repository\PhpSessionRepository::instance();
  16. }
  17. /**
  18. * @return \Entity\PhpSession
  19. */
  20. public static function create(){
  21. return new self();
  22. }
  23. /**
  24. * @var string $session_id
  25. */
  26. protected $session_id;
  27. /**
  28. * @var string $session_name
  29. */
  30. protected $session_name;
  31. /**
  32. * @var integer $session_time
  33. */
  34. protected $session_time;
  35. /**
  36. * @var integer $session_start
  37. */
  38. protected $session_start;
  39. /**
  40. * @var text $session_value
  41. */
  42. protected $session_value;
  43. /**
  44. * Get session_id
  45. *
  46. * @return string
  47. */
  48. public function get_session_id()
  49. {
  50. return $this->session_id;
  51. }
  52. /**
  53. * Set session_name
  54. *
  55. * @param string $value
  56. * @return PhpSession
  57. */
  58. public function set_session_name($value)
  59. {
  60. $this->session_name = $value;
  61. return $this;
  62. }
  63. /**
  64. * Get session_name
  65. *
  66. * @return string
  67. */
  68. public function get_session_name()
  69. {
  70. return $this->session_name;
  71. }
  72. /**
  73. * Set session_time
  74. *
  75. * @param integer $value
  76. * @return PhpSession
  77. */
  78. public function set_session_time($value)
  79. {
  80. $this->session_time = $value;
  81. return $this;
  82. }
  83. /**
  84. * Get session_time
  85. *
  86. * @return integer
  87. */
  88. public function get_session_time()
  89. {
  90. return $this->session_time;
  91. }
  92. /**
  93. * Set session_start
  94. *
  95. * @param integer $value
  96. * @return PhpSession
  97. */
  98. public function set_session_start($value)
  99. {
  100. $this->session_start = $value;
  101. return $this;
  102. }
  103. /**
  104. * Get session_start
  105. *
  106. * @return integer
  107. */
  108. public function get_session_start()
  109. {
  110. return $this->session_start;
  111. }
  112. /**
  113. * Set session_value
  114. *
  115. * @param text $value
  116. * @return PhpSession
  117. */
  118. public function set_session_value($value)
  119. {
  120. $this->session_value = $value;
  121. return $this;
  122. }
  123. /**
  124. * Get session_value
  125. *
  126. * @return text
  127. */
  128. public function get_session_value()
  129. {
  130. return $this->session_value;
  131. }
  132. }