mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-21 15:13:50 +00:00
Ajout de SocialIsssue & SocialAction to ActivityType
This commit is contained in:
@@ -228,6 +228,26 @@ class ActivityType
|
||||
*/
|
||||
private string $socialDataLabel = '';
|
||||
|
||||
/**
|
||||
* @ORM\Column(type="smallint", nullable=false, options={"default"=1})
|
||||
*/
|
||||
private int $socialIssuesVisible = self::FIELD_INVISIBLE;
|
||||
|
||||
/**
|
||||
* @ORM\Column(type="string", nullable=false, options={"default"=""})
|
||||
*/
|
||||
private string $socialIssuesLabel = '';
|
||||
|
||||
/**
|
||||
* @ORM\Column(type="smallint", nullable=false, options={"default"=1})
|
||||
*/
|
||||
private int $socialActionsVisible = self::FIELD_INVISIBLE;
|
||||
|
||||
/**
|
||||
* @ORM\Column(type="string", nullable=false, options={"default"=""})
|
||||
*/
|
||||
private string $socialActionsLabel = '';
|
||||
|
||||
/**
|
||||
* @ORM\Column(type="float", options={"default"="0.0"})
|
||||
*/
|
||||
@@ -682,4 +702,52 @@ class ActivityType
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
public function getSocialIssuesVisible(): ?int
|
||||
{
|
||||
return $this->socialIssuesVisible;
|
||||
}
|
||||
|
||||
public function setSocialIssuesVisible(int $socialIssuesVisible): self
|
||||
{
|
||||
$this->socialIssuesVisible = $socialIssuesVisible;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
public function getSocialIssuesLabel(): ?string
|
||||
{
|
||||
return $this->socialIssuesLabel;
|
||||
}
|
||||
|
||||
public function setSocialIssuesLabel(string $socialIssuesLabel): self
|
||||
{
|
||||
$this->socialIssuesLabel = $socialIssuesLabel;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
public function getSocialActionsVisible(): ?int
|
||||
{
|
||||
return $this->socialActionsVisible;
|
||||
}
|
||||
|
||||
public function setSocialActionsVisible(int $socialActionsVisible): self
|
||||
{
|
||||
$this->socialActionsVisible = $socialActionsVisible;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
public function getSocialActionsLabel(): ?string
|
||||
{
|
||||
return $this->socialActionsLabel;
|
||||
}
|
||||
|
||||
public function setSocialActionsLabel(string $socialActionsLabel): self
|
||||
{
|
||||
$this->socialActionsLabel = $socialActionsLabel;
|
||||
|
||||
return $this;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user