mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-20 22:53:49 +00:00
postal code: rename fields to avoid confusion in load fixtures
This commit is contained in:
@@ -69,7 +69,7 @@ class PostalCode
|
||||
* @ORM\Column(type="string", length=255, nullable=true)
|
||||
* @groups({"write", "read"})
|
||||
*/
|
||||
private $refId;
|
||||
private $refPostalCodeId;
|
||||
|
||||
/**
|
||||
* @var string
|
||||
@@ -77,7 +77,7 @@ class PostalCode
|
||||
* @ORM\Column(type="string", length=255, nullable=true)
|
||||
* @groups({"write", "read"})
|
||||
*/
|
||||
private $source;
|
||||
private $postalCodeSource;
|
||||
|
||||
/**
|
||||
* @var Point
|
||||
@@ -195,26 +195,26 @@ class PostalCode
|
||||
return $this->country;
|
||||
}
|
||||
|
||||
public function getRefId(): ?string
|
||||
public function getRefPostalCodeId(): ?string
|
||||
{
|
||||
return $this->refId;
|
||||
return $this->refPostalCodeId;
|
||||
}
|
||||
|
||||
public function setRefId(?string $refId): self
|
||||
public function setRefPostalCodeId(?string $refPostalCodeId): self
|
||||
{
|
||||
$this->refId = $refId;
|
||||
$this->refPostalCodeId = $refPostalCodeId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
public function getSource(): ?string
|
||||
public function getPostalCodeSource(): ?string
|
||||
{
|
||||
return $this->source;
|
||||
return $this->postalCodeSource;
|
||||
}
|
||||
|
||||
public function setSource(?string $source): self
|
||||
public function setPostalCodeSource(?string $postalCodeSource): self
|
||||
{
|
||||
$this->source = $source;
|
||||
$this->postalCodeSource = $postalCodeSource;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
Reference in New Issue
Block a user