123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162 |
- <?php
- use Doctrine\Common\Collections\ArrayCollection;
- use Doctrine\Common\Collections\Collection;
-
- /**
- * @Entity @Table(name="sections")
- */
- class Section
- {
- /**
- * @Id @Column(type="integer") @GeneratedValue
- */
- private $id;
-
- /**
- * @var string
- *
- * @Column(type="string")
- */
- private $name;
- /**
- * @var string
- *
- * @Column(type="string")
- */
- private $locomotive_series;
- /**
- * @var string
- *
- * @Column(type="string")
- */
- private $section_number;
- /**
- * @var string
- *
- * @Column(type="string")
- */
- private $section_subnumber;
- /**
- * @var string
- *
- * @Column(type="string")
- */
- private $dc_repair;
- /**
- * @var string
- *
- * @Column(type="string")
- */
- private $type_repair;
- /**
- * @var datetime
- *
- * @Column(type="datetime")
- */
- private $date_start_repair;
-
- public function getId()
- {
- return $this->id;
- }
- public function getName(): string
- {
- return $this->name;
- }
- public function setName(string $name): self
- {
- $this->name = $name;
- return $this;
- }
- public function getLocomotiveSeries()
- {
- return $this->locomotive_series;
- }
- public function setLocomotiveSeries(string $locomotive_series): self
- {
- $this->locomotive_series = $locomotive_series;
- return $this;
- }
-
- public function getSectionNumber()
- {
- return $this->section_number;
- }
- public function setSectionNumber(string $section_number): self
- {
- $this->section_number = $section_number;
- return $this;
- }
-
- public function getSectionSubnumber(): string
- {
- return $this->section_subnumber;
- }
- public function setSectionSubnumber(string $section_subnumber): self
- {
- $this->section_subnumber = $section_subnumber;
- return $this;
- }
- public function getDcRepair(): string
- {
- return $this->dc_repair;
- }
- public function setDcRepair(string $dc_repair): self
- {
- $this->dc_repair = $dc_repair;
- return $this;
- }
- public function getTypeRepair(): string
- {
- return $this->type_repair;
- }
- public function setTypeRepair(string $type_repair): self
- {
- $this->type_repair = $type_repair;
- return $this;
- }
- public function getDateStartRepair(): \DateTimeInterface
- {
- return $this->date_start_repair;
- }
- public function setDateStartRepair(\DateTimeInterface $date_start_repair): self
- {
- $this->date_start_repair = $date_start_repair;
- return $this;
- }
- }
|