<?php
declare(strict_types=1);
namespace App\Entity\Addressing;
use Doctrine\ORM\Mapping as ORM;
use Sylius\Component\Core\Model\Address as BaseAddress;
#[ORM\Table(name: 'sylius_address')]
#[ORM\Entity]
#[ORM\AttributeOverrides([
new ORM\AttributeOverride(
name: 'firstName',
column: new ORM\Column(name: 'first_name', nullable: true),
),
new ORM\AttributeOverride(
name: 'lastName',
column: new ORM\Column(name: 'last_name', nullable: true),
),
])]
class Address extends BaseAddress
{
#[ORM\Column(name: 'id_sage', type: 'string', length: 255, nullable: true)]
private string|null $idSage = null;
#[ORM\Column(name: 'type', type: 'string', length: 255, nullable: true)]
private string|null $type = null;
public function getIdSage(): string|null
{
return $this->idSage;
}
public function setIdSage(string|null $idSage): void
{
$this->idSage = $idSage;
}
public function getType(): string|null
{
return $this->type;
}
public function setType(string|null $type): void
{
$this->type = $type;
}
}