Commit 0862b68e authored by dj3c1t's avatar dj3c1t

setId in entities

parent 205396d4
......@@ -97,6 +97,18 @@ class Author
}
/**
* Set id
*
* @param integer $id
*/
public function setId($id)
{
$this->id = $id;
return $this;
}
/**
* Set name
*
* @param string $name
......
......@@ -40,6 +40,18 @@ class AuthorRole
}
/**
* Set id
*
* @param integer $id
*/
public function setId($id)
{
$this->id = $id;
return $this;
}
/**
* Set name
*
* @param string $name
......
......@@ -46,6 +46,18 @@ class DerivationSource
}
/**
* Set id
*
* @param integer $id
*/
public function setId($id)
{
$this->id = $id;
return $this;
}
/**
* Set url
*
* @param string $url
......
......@@ -53,6 +53,18 @@ class Licence
}
/**
* Set id
*
* @param integer $id
*/
public function setId($id)
{
$this->id = $id;
return $this;
}
/**
* Set name
*
* @param string $name
......
......@@ -58,6 +58,18 @@ class SourceAuthor
}
/**
* Set id
*
* @param integer $id
*/
public function setId($id)
{
$this->id = $id;
return $this;
}
/**
* Set source
*
* @param \Dj3c1t\SourceMLBundle\Entity\Source $source
......
......@@ -58,6 +58,18 @@ class SourceComposition
}
/**
* Set id
*
* @param integer $id
*/
public function setId($id)
{
$this->id = $id;
return $this;
}
/**
* Set source
*
* @param \Dj3c1t\SourceMLBundle\Entity\Source $source
......
......@@ -59,6 +59,18 @@ class SourceDocument
}
/**
* Set id
*
* @param integer $id
*/
public function setId($id)
{
$this->id = $id;
return $this;
}
/**
* Set name
*
* @param string $name
......
......@@ -53,6 +53,18 @@ class SourceInfo
}
/**
* Set id
*
* @param integer $id
*/
public function setId($id)
{
$this->id = $id;
return $this;
}
/**
* Set infoKey
*
* @param string $infoKey
......
......@@ -40,6 +40,18 @@ class SourceType
}
/**
* Set id
*
* @param integer $id
*/
public function setId($id)
{
$this->id = $id;
return $this;
}
/**
* Set name
*
* @param string $name
......
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