WIP: Implement closer BPN integration
This commit is contained in:
@@ -27,9 +27,9 @@ class Assignment implements BlameableEntityInterface, TimestampableEntityInterfa
|
||||
#[ORM\Column(type: 'string', length: 36, unique: true)]
|
||||
private string $uuid;
|
||||
|
||||
#[ORM\Column(nullable: true)]
|
||||
#[ORM\ManyToOne]
|
||||
#[Assert\NotNull(message: 'Bitte gib die Destination an')]
|
||||
private ?int $destinationBusProId = null;
|
||||
private ?BpnDate $destination = null;
|
||||
|
||||
#[ORM\ManyToOne]
|
||||
#[Assert\NotNull(message: 'Bitte gib das Jobprofil an')]
|
||||
@@ -93,14 +93,14 @@ class Assignment implements BlameableEntityInterface, TimestampableEntityInterfa
|
||||
return $this->uuid;
|
||||
}
|
||||
|
||||
public function getDestinationBusProId(): ?int
|
||||
public function getDestination(): ?BpnDate
|
||||
{
|
||||
return $this->destinationBusProId;
|
||||
return $this->destination;
|
||||
}
|
||||
|
||||
public function setDestinationBusProId(?int $destinationBusProId): static
|
||||
public function setDestination(?BpnDate $destination): static
|
||||
{
|
||||
$this->destinationBusProId = $destinationBusProId;
|
||||
$this->destination = $destination;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user