Commit a827e7ec authored by Andreas Heimann's avatar Andreas Heimann

update song entity

parent 57a5b2f4
...@@ -56,6 +56,21 @@ class Song ...@@ -56,6 +56,21 @@ class Song
*/ */
private $audioOriginalName; private $audioOriginalName;
/**
* @ORM\Column(type="integer")
*/
private $views;
/**
* @ORM\Column(type="integer")
*/
private $downloads;
/**
* @ORM\Column(type="boolean")
*/
private $isExplicit;
public function getId(): ?int public function getId(): ?int
{ {
return $this->id; return $this->id;
...@@ -156,4 +171,40 @@ class Song ...@@ -156,4 +171,40 @@ class Song
return $this; return $this;
} }
public function getViews(): ?int
{
return $this->views;
}
public function setViews(int $views): self
{
$this->views = $views;
return $this;
}
public function getDownloads(): ?int
{
return $this->downloads;
}
public function setDownloads(int $downloads): self
{
$this->downloads = $downloads;
return $this;
}
public function getIsExplicit(): ?bool
{
return $this->isExplicit;
}
public function setIsExplicit(bool $isExplicit): self
{
$this->isExplicit = $isExplicit;
return $this;
}
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment