WIP: Implement new role house manager
This commit is contained in:
1 parent
392ea3f16f
commit
538d39f63e
7 files changed
+84
-14
No files matched your search
+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