95 lines
1.6 KiB
PHP
95 lines
1.6 KiB
PHP
<?php
|
|
|
|
namespace App\Entity;
|
|
|
|
use Doctrine\ORM\Mapping as ORM;
|
|
|
|
/**
|
|
* Childheader.
|
|
*
|
|
* @ORM\Table(name="childheader")
|
|
* @ORM\Entity(repositoryClass="App\Repository\ChildheaderRepository")
|
|
*/
|
|
class Childheader
|
|
{
|
|
/**
|
|
* @ORM\Id
|
|
* @ORM\Column(type="integer")
|
|
* @ORM\GeneratedValue(strategy="AUTO")
|
|
*/
|
|
private $id;
|
|
|
|
/**
|
|
* @ORM\Column(type="string")
|
|
*/
|
|
private $filename;
|
|
|
|
/**
|
|
* @ORM\Column(type="integer")
|
|
*/
|
|
private $roworder;
|
|
|
|
/**
|
|
* @ORM\Column(type="string", nullable=true)
|
|
*/
|
|
private $credit;
|
|
|
|
/**
|
|
* @ORM\ManyToOne(targetEntity="Child", inversedBy="childheaders")
|
|
*/
|
|
private $child;
|
|
|
|
public function getId(): ?int
|
|
{
|
|
return $this->id;
|
|
}
|
|
|
|
public function getFilename(): ?string
|
|
{
|
|
return $this->filename;
|
|
}
|
|
|
|
public function setFilename(string $filename): self
|
|
{
|
|
$this->filename = $filename;
|
|
|
|
return $this;
|
|
}
|
|
|
|
public function getChild(): ?Child
|
|
{
|
|
return $this->child;
|
|
}
|
|
|
|
public function setChild(?Child $child): self
|
|
{
|
|
$this->child = $child;
|
|
|
|
return $this;
|
|
}
|
|
|
|
public function getRoworder(): ?int
|
|
{
|
|
return $this->roworder;
|
|
}
|
|
|
|
public function setRoworder(int $roworder): self
|
|
{
|
|
$this->roworder = $roworder;
|
|
|
|
return $this;
|
|
}
|
|
|
|
public function getCredit(): ?string
|
|
{
|
|
return $this->credit;
|
|
}
|
|
|
|
public function setCredit(?string $credit): self
|
|
{
|
|
$this->credit = $credit;
|
|
|
|
return $this;
|
|
}
|
|
}
|