mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-21 07:03:49 +00:00
make somes changes on model: to manage isVisible field option + others
This commit is contained in:
@@ -29,7 +29,7 @@ class Location implements TrackCreationInterface, TrackUpdateInterface
|
||||
* @ORM\JoinColumn(nullable=false)
|
||||
* @Serializer\Groups({"read"})
|
||||
*/
|
||||
private ?LocationType $type = null;
|
||||
private ?LocationType $locationType = null;
|
||||
|
||||
/**
|
||||
* @ORM\OneToOne(targetEntity=Address::class, cascade={"persist", "remove"})
|
||||
@@ -104,14 +104,14 @@ class Location implements TrackCreationInterface, TrackUpdateInterface
|
||||
return $this->id;
|
||||
}
|
||||
|
||||
public function getType(): ?LocationType
|
||||
public function getLocationType(): ?LocationType
|
||||
{
|
||||
return $this->type;
|
||||
return $this->locationType;
|
||||
}
|
||||
|
||||
public function setType(?LocationType $type): self
|
||||
public function setLocationType(?LocationType $locationType): self
|
||||
{
|
||||
$this->type = $type;
|
||||
$this->locationType = $locationType;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
Reference in New Issue
Block a user