add household and householdmembers entities + migration

This commit is contained in:
nobohan
2021-05-05 11:44:55 +02:00
parent 86c177bbbb
commit f61af9d02a
5 changed files with 318 additions and 0 deletions

View File

@@ -0,0 +1,24 @@
<?php
namespace Chill\PersonBundle\Entity\Household;
use Chill\PersonBundle\Repository\Household\HouseholdRepository;
use Doctrine\ORM\Mapping as ORM;
/**
* @ORM\Entity(repositoryClass=HouseholdRepository::class)
*/
class Household
{
/**
* @ORM\Id
* @ORM\GeneratedValue
* @ORM\Column(type="integer")
*/
private $id;
public function getId(): ?int
{
return $this->id;
}
}