| Total Complexity | 7 |
| Total Lines | 57 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 14 | #[ORM\Table(name: 'search_engine_field_value')] |
||
| 15 | #[ORM\Entity] |
||
| 16 | class SearchEngineFieldValue |
||
| 17 | { |
||
| 18 | #[ORM\Column(name: 'id', type: 'integer')] |
||
| 19 | #[ORM\Id] |
||
| 20 | #[ORM\GeneratedValue(strategy: 'IDENTITY')] |
||
| 21 | protected ?int $id = null; |
||
| 22 | |||
| 23 | #[ORM\Column(name: 'resource_node_id', type: 'integer', nullable: false)] |
||
| 24 | protected int $resourceNodeId; |
||
| 25 | |||
| 26 | #[ORM\Column(name: 'field_id', type: 'integer', nullable: false)] |
||
| 27 | protected int $fieldId; |
||
| 28 | |||
| 29 | #[ORM\Column(name: 'value', type: 'string', length: 200, nullable: false)] |
||
| 30 | protected string $value; |
||
| 31 | |||
| 32 | public function getId(): ?int |
||
| 33 | { |
||
| 34 | return $this->id; |
||
| 35 | } |
||
| 36 | |||
| 37 | public function setResourceNodeId(int $resourceNodeId): self |
||
| 38 | { |
||
| 39 | $this->resourceNodeId = $resourceNodeId; |
||
| 40 | |||
| 41 | return $this; |
||
| 42 | } |
||
| 43 | |||
| 44 | public function getResourceNodeId(): int |
||
| 45 | { |
||
| 46 | return $this->resourceNodeId; |
||
| 47 | } |
||
| 48 | |||
| 49 | public function setFieldId(int $fieldId): self |
||
| 50 | { |
||
| 51 | $this->fieldId = $fieldId; |
||
| 52 | |||
| 53 | return $this; |
||
| 54 | } |
||
| 55 | |||
| 56 | public function getFieldId(): int |
||
| 57 | { |
||
| 58 | return $this->fieldId; |
||
| 59 | } |
||
| 60 | |||
| 61 | public function setValue(string $value): self |
||
| 66 | } |
||
| 67 | |||
| 68 | public function getValue(): string |
||
| 69 | { |
||
| 71 | } |
||
| 72 | } |
||
| 73 |