| Total Complexity | 5 |
| Total Lines | 42 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 14 | #[ORM\Table(name: 'search_engine_ref')] |
||
| 15 | #[ORM\Entity] |
||
| 16 | class SearchEngineRef |
||
| 17 | { |
||
| 18 | #[ORM\Column(name: 'resource_node_id', type: 'integer', nullable: true)] |
||
| 19 | protected ?int $resourceNodeId = null; |
||
| 20 | |||
| 21 | #[ORM\Column(name: 'search_did', type: 'integer', nullable: false)] |
||
| 22 | protected int $searchDid; |
||
| 23 | |||
| 24 | #[ORM\Column(name: 'id', type: 'integer')] |
||
| 25 | #[ORM\Id] |
||
| 26 | #[ORM\GeneratedValue(strategy: 'IDENTITY')] |
||
| 27 | protected ?int $id = null; |
||
| 28 | |||
| 29 | public function getId(): ?int |
||
| 30 | { |
||
| 31 | return $this->id; |
||
| 32 | } |
||
| 33 | |||
| 34 | public function getResourceNodeId(): ?int |
||
| 37 | } |
||
| 38 | |||
| 39 | public function setResourceNodeId(?int $resourceNodeId): self |
||
| 44 | } |
||
| 45 | |||
| 46 | public function getSearchDid(): int |
||
| 49 | } |
||
| 50 | |||
| 51 | public function setSearchDid(int $searchDid): self |
||
| 58 |