src/Entity/Common/BirthCertificate.php line 15
<?php
namespace App\Entity\Common;
use Doctrine\ORM\Mapping as ORM;
use Symfony\Component\Validator\Constraints as Assert;
use App\Validator\Constraints\Common;
/**
* Class Passport
* @package App\Entity\Common
*
*/
#[ORM\Embeddable]
class BirthCertificate
{
#[ORM\Column(type: 'string', nullable: true)]
#[Assert\NotBlank(groups: ['full_apply_bc'])]
private ?string $number = null;
/**
* @return string|null
*/
public function getNumber(): ?string
{
return $this->number;
}
/**
* @param string|null $number
*/
public function setNumber(?string $number): void
{
$this->number = $number;
}
}