WIP: Implement new role house manager
This commit is contained in:
+6
-6
@@ -48,8 +48,8 @@ class User implements UserInterface, TimestampableEntityInterface
|
||||
#[ORM\OneToOne(inversedBy: 'user', cascade: ['persist', 'remove'])]
|
||||
private ?Contact $contact = null;
|
||||
|
||||
#[ORM\Column(nullable: true)]
|
||||
private ?int $hotelBusProId = null;
|
||||
#[ORM\Column(length: 32, nullable: true)]
|
||||
private ?string $hotelCode = null;
|
||||
|
||||
public function __construct()
|
||||
{
|
||||
@@ -221,14 +221,14 @@ class User implements UserInterface, TimestampableEntityInterface
|
||||
return $this;
|
||||
}
|
||||
|
||||
public function getHotelBusProId(): ?int
|
||||
public function getHotelCode(): ?string
|
||||
{
|
||||
return $this->hotelBusProId;
|
||||
return $this->hotelCode;
|
||||
}
|
||||
|
||||
public function setHotelBusProId(?int $hotelBusProId): static
|
||||
public function setHotelCode(?string $hotelCode): static
|
||||
{
|
||||
$this->hotelBusProId = $hotelBusProId;
|
||||
$this->hotelCode = $hotelCode;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user