| 1 | <?php |
||
| 23 | class RequestLogDetail implements EntityInterface |
||
| 24 | { |
||
| 25 | use Traits\PropertyIdGeneratedTrait; |
||
| 26 | |||
| 27 | /** |
||
| 28 | * @var string |
||
| 29 | * @ORM\Column(name="path", type="text", nullable=false) |
||
| 30 | */ |
||
| 31 | private $path; |
||
| 32 | |||
| 33 | /** |
||
| 34 | * @var string |
||
| 35 | * @ORM\Column(name="meta", type="text", nullable=false) |
||
| 36 | */ |
||
| 37 | private $meta; |
||
| 38 | |||
| 39 | //------------------------------------------------------------------------------------------- |
||
| 40 | |||
| 41 | /** |
||
| 42 | * @var RequestLog |
||
| 43 | * @ORM\ManyToOne(targetEntity="App\Entity\System\RequestLog", inversedBy="requestLogDetails") |
||
| 44 | * @ORM\JoinColumn(name="request_log_id", referencedColumnName="id", nullable=false) |
||
| 45 | * |
||
| 46 | * @Assert\NotNull() |
||
| 47 | */ |
||
| 48 | private $requestLog; |
||
| 49 | |||
| 50 | //------------------------------------------------------------------------------------------- |
||
| 51 | |||
| 52 | 16 | public function __construct(RequestLog $requestLog, string $path, string $meta) |
|
| 59 | |||
| 60 | //------------------------------------------------------------------------------------------- |
||
| 61 | } |
||
| 62 |