12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485 |
- <?php
- use Doctrine\Common\Collections\ArrayCollection;
- use Doctrine\Common\Collections\Collection;
-
- /**
- * @Entity @Table(name="twx_errors")
- */
- class Twxerror
- {
- /**
- * @Id @Column(type="integer") @GeneratedValue
- */
- private $id;
-
- /**
- * @var integet
- *
- * @Column(type="integer")
- */
- private $code;
- /**
- * @var string
- *
- * @Column(type="string")
- */
- private $massage_error;
- /**
- * @var datetime
- *
- * @Column(type="datetime")
- */
- private $date_error;
-
- public function getId()
- {
- return $this->id;
- }
- public function getCode(): string
- {
- return $this->code;
- }
- public function setCode(integer $code): self
- {
- $this->code = $code;
- return $this;
- }
- public function getMassageError()
- {
- return $this->massage_error;
- }
- public function setMassageError(string $massage_error): self
- {
- $this->massage_error = $massage_error;
- return $this;
- }
- public function getDateError(): \DateTimeInterface
- {
- return $this->date_error;
- }
- public function setDateError(\DateTimeInterface $date_error): self
- {
- $this->date_error = $date_error;
- return $this;
- }
- }
|