postal code: rename fields to avoid confusion in load fixtures

This commit is contained in:
nobohan
2021-10-07 13:42:26 +02:00
parent fd73fac1a8
commit 748fe28f8d
3 changed files with 14 additions and 14 deletions

View File

@@ -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;
}