src/Entity/UserLibraryPool.php line 11

Open in your IDE?
  1. <?php
  2. namespace App\Entity;
  3. use App\Repository\UserLibraryPoolRepository;
  4. use Doctrine\ORM\Mapping as ORM;
  5. /**
  6. * @ORM\Entity(repositoryClass=UserLibraryPoolRepository::class)
  7. */
  8. class UserLibraryPool
  9. {
  10. /**
  11. * @ORM\Id
  12. * @ORM\GeneratedValue
  13. * @ORM\Column(type="integer")
  14. */
  15. private $id;
  16. /**
  17. * @ORM\Column(type="integer")
  18. */
  19. private $user_id;
  20. /**
  21. * @ORM\Column(type="integer")
  22. */
  23. private $library_id;
  24. /**
  25. * @ORM\Column(type="string", length=255)
  26. */
  27. private $name;
  28. /**
  29. * @ORM\Column(type="text")
  30. */
  31. private $description;
  32. /**
  33. * @ORM\Column(type="integer")
  34. */
  35. private $type;
  36. /**
  37. * @ORM\Column(type="integer")
  38. */
  39. private $sortorder;
  40. /**
  41. * @ORM\Column(type="integer")
  42. */
  43. private $deletable;
  44. /**
  45. * @ORM\Column(type="integer")
  46. */
  47. private $mon;
  48. /**
  49. * @ORM\Column(type="integer")
  50. */
  51. private $tue;
  52. /**
  53. * @ORM\Column(type="integer")
  54. */
  55. private $wed;
  56. /**
  57. * @ORM\Column(type="integer")
  58. */
  59. private $thu;
  60. /**
  61. * @ORM\Column(type="integer")
  62. */
  63. private $fri;
  64. /**
  65. * @ORM\Column(type="integer")
  66. */
  67. private $sat;
  68. /**
  69. * @ORM\Column(type="integer")
  70. */
  71. private $sun;
  72. /**
  73. * @ORM\Column(type="datetime")
  74. */
  75. private $created_date;
  76. public function getId(): ?int
  77. {
  78. return $this->id;
  79. }
  80. public function getUserId(): ?int
  81. {
  82. return $this->user_id;
  83. }
  84. public function setUserId(int $user_id): self
  85. {
  86. $this->user_id = $user_id;
  87. return $this;
  88. }
  89. public function getLibraryId(): ?int
  90. {
  91. return $this->library_id;
  92. }
  93. public function setLibraryId(int $library_id): self
  94. {
  95. $this->library_id = $library_id;
  96. return $this;
  97. }
  98. public function getName(): ?string
  99. {
  100. return $this->name;
  101. }
  102. public function setName(string $name): self
  103. {
  104. $this->name = $name;
  105. return $this;
  106. }
  107. public function getDescription(): ?string
  108. {
  109. return $this->description;
  110. }
  111. public function setDescription(string $description): self
  112. {
  113. $this->description = $description;
  114. return $this;
  115. }
  116. public function getType(): ?int
  117. {
  118. return $this->type;
  119. }
  120. public function setType(int $type): self
  121. {
  122. $this->type = $type;
  123. return $this;
  124. }
  125. public function getDeletable(): ?int
  126. {
  127. return $this->deletable;
  128. }
  129. public function setDeletable(int $deletable): self
  130. {
  131. $this->deletable = $deletable;
  132. return $this;
  133. }
  134. public function getMon(): ?int
  135. {
  136. return $this->mon;
  137. }
  138. public function setMon(int $mon): self
  139. {
  140. $this->mon = $mon;
  141. return $this;
  142. }
  143. public function getTue(): ?int
  144. {
  145. return $this->tue;
  146. }
  147. public function setTue(int $tue): self
  148. {
  149. $this->tue = $tue;
  150. return $this;
  151. }
  152. public function getWed(): ?int
  153. {
  154. return $this->wed;
  155. }
  156. public function setWed(int $wed): self
  157. {
  158. $this->wed = $wed;
  159. return $this;
  160. }
  161. public function getThu(): ?int
  162. {
  163. return $this->thu;
  164. }
  165. public function setThu(int $thu): self
  166. {
  167. $this->thu = $thu;
  168. return $this;
  169. }
  170. public function getFri(): ?int
  171. {
  172. return $this->fri;
  173. }
  174. public function setFri(int $fri): self
  175. {
  176. $this->fri = $fri;
  177. return $this;
  178. }
  179. public function getSat(): ?int
  180. {
  181. return $this->sat;
  182. }
  183. public function setSat(int $sat): self
  184. {
  185. $this->sat = $sat;
  186. return $this;
  187. }
  188. public function getSun(): ?int
  189. {
  190. return $this->sun;
  191. }
  192. public function setSun(int $sun): self
  193. {
  194. $this->sun = $sun;
  195. return $this;
  196. }
  197. public function getCreatedDate(): ?\DateTimeInterface
  198. {
  199. return $this->created_date;
  200. }
  201. public function setCreatedDate(\DateTimeInterface $created_date): self
  202. {
  203. $this->created_date = $created_date;
  204. return $this;
  205. }
  206. public function getSortorder(): ?int
  207. {
  208. return $this->sortorder;
  209. }
  210. public function setSortorder(int $sortorder): self
  211. {
  212. $this->sortorder = $sortorder;
  213. return $this;
  214. }
  215. }