| Total Complexity | 6 | 
| Total Lines | 46 | 
| Duplicated Lines | 0 % | 
| Coverage | 100% | 
| Changes | 3 | ||
| Bugs | 0 | Features | 0 | 
| 1 | <?php | ||
| 12 | #[ORM\Entity] | ||
| 13 | #[ORM\HasLifecycleCallbacks] | ||
| 14 | class PassportRole | ||
| 15 | { | ||
| 16 | use HasId; | ||
| 17 | use HasRole; | ||
| 18 | |||
| 19 | #[ORM\Column(type: 'integer')] | ||
| 20 | private int $userId; | ||
| 21 | |||
| 22 | #[ORM\Column(type: 'integer', nullable: true)] | ||
| 23 | private $entityId; | ||
| 24 | |||
| 25 | #[ORM\Column(type: 'integer', nullable: true)] | ||
| 26 | private ?int $approvedById = null; | ||
| 27 | |||
| 28 | use HasCreatedAtDate; | ||
| 29 | |||
| 30 | public function getUserId(): int | ||
| 31 | 1 |     { | |
| 32 | return $this->userId; | ||
| 33 | 1 | } | |
| 34 | |||
| 35 | public function setUserId(int $userId): void | ||
| 38 | 2 | } | |
| 39 | |||
| 40 | public function getEntityId(): ?int | ||
| 41 | 2 |     { | |
| 42 | return $this->entityId; | ||
| 43 | 2 | } | |
| 44 | |||
| 45 | public function setEntityId(int $entityId): void | ||
| 46 | 2 |     { | |
| 47 | $this->entityId = $entityId; | ||
| 48 | 2 | } | |
| 49 | |||
| 50 | public function getApprovedById(): ?int | ||
| 51 | 2 |     { | |
| 52 | return $this->approvedById; | ||
| 53 | 2 | } | |
| 54 | |||
| 55 | public function setApprovedById(?int $approvedById): void | ||
| 58 | 2 | } | |
| 59 | } | ||
| 60 |