Targets Entity for managing outgoing target endpoint and group assignment
package |
App\Entity |
---|---|
ORM\Table |
(name="targets") |
ORM\Entity |
(repositoryClass="App\Repository\TargetsRepository") |
UniqueEntity |
("name") |
createdOnPrePersit()
ORM\PrePersist | |
---|---|
getCreated() : integer
integer
$created
getGroupId() : \App\Entity\Groups|null
getId() : integer|null
integer|null
getName() : null|string
null|string
getUpdated() : integer
integer
$updated
getUrl() : null|string
null|string
setCreated(integer $created) : $this
integer
$this
setGroupId(\App\Entity\Groups $group_id) : \App\Entity\Targets
setName(string $name) : \App\Entity\Targets
setUpdated(integer $updated) : $this
integer
$this
setUrl(string $url) : \App\Entity\Targets
updatedOnPostPersit()
ORM\PostPersist | |
---|---|
id :
ORM\Id |
() |
---|---|
ORM\GeneratedValue |
() |
ORM\Column |
(type="integer") |
name :
ORM\Column |
(type="string", length=32, unique=true, nullable=false) |
---|---|
Assert\NotNull | |
url :
ORM\Column |
(type="string", length=255, nullable=false) |
---|---|
Assert\Url | |
created : integer
var | |
---|---|
Gedmo\Timestampable |
(on="create") |
ORM\Column |
(type="integer", name="created", nullable=true) |
integer
updated : integer
var | |
---|---|
Gedmo\Timestampable |
(on="update") |
ORM\Column |
(type="integer", name="updated", nullable=true) |
integer
group_id :
ORM\ManyToOne |
(targetEntity="App\Entity\Groups", inversedBy="targets") |
---|---|