-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathRelation.php
More file actions
96 lines (72 loc) · 1.84 KB
/
Relation.php
File metadata and controls
96 lines (72 loc) · 1.84 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
<?php
namespace App\Entity;
use App\Repository\RelationRepository;
use Doctrine\ORM\Mapping as ORM;
use Symfony\UX\Turbo\Attribute\Broadcast;
#[ORM\Entity(repositoryClass: RelationRepository::class)]
class Relation
{
#[ORM\Id]
#[ORM\GeneratedValue]
#[ORM\Column]
private ?int $id = null;
#[ORM\ManyToOne(inversedBy: 'relations')]
private ?Automation $Automation = null;
#[ORM\ManyToOne(inversedBy: 'relations')]
private ?Flow $flow = null;
#[ORM\ManyToOne(inversedBy: 'relations')]
private ?Step $step = null;
#[ORM\ManyToOne(inversedBy: 'relations')]
private ?Connection $connection = null;
#[ORM\ManyToOne(inversedBy: 'relations')]
private ?Dataset $dataset = null;
public function getId(): ?int
{
return $this->id;
}
public function getAutomation(): ?Automation
{
return $this->Automation;
}
public function setAutomation(?Automation $Automation): static
{
$this->Automation = $Automation;
return $this;
}
public function getFlow(): ?Flow
{
return $this->flow;
}
public function setFlow(?Flow $flow): static
{
$this->flow = $flow;
return $this;
}
public function getStep(): ?Step
{
return $this->step;
}
public function setStep(?Step $step): static
{
$this->step = $step;
return $this;
}
public function getConnection(): ?Connection
{
return $this->connection;
}
public function setConnection(?Connection $connection): static
{
$this->connection = $connection;
return $this;
}
public function getDataset(): ?Dataset
{
return $this->dataset;
}
public function setDataset(?Dataset $dataset): static
{
$this->dataset = $dataset;
return $this;
}
}