mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-17 15:03:25 +00:00
Corrected incoherences in entities
This commit is contained in:
@@ -17,9 +17,7 @@ use Doctrine\ORM\Mapping as ORM;
|
||||
use Gedmo\Mapping\Annotation as Gedmo;
|
||||
|
||||
/**
|
||||
* @ORM\Table(name="FeedItems", uniqueConstraints={@ORM\UniqueConstraint(name="lookup_unique_idx", columns={
|
||||
* "entry_id","sbas_id","record_id"
|
||||
* }})
|
||||
* @ORM\Table(name="FeedItems", uniqueConstraints={@ORM\UniqueConstraint(name="lookup_unique_idx", columns={"entry_id","sbas_id","record_id"})})
|
||||
* @ORM\Entity(repositoryClass="Repositories\FeedItemRepository")
|
||||
* @HasLifecycleCallbacks
|
||||
*/
|
||||
@@ -42,6 +40,11 @@ class FeedItem
|
||||
*/
|
||||
private $sbas_id;
|
||||
|
||||
/**
|
||||
* @ORM\Column(type="integer")
|
||||
*/
|
||||
private $ord;
|
||||
|
||||
/**
|
||||
* @Gedmo\Timestampable(on="create")
|
||||
* @ORM\Column(type="datetime")
|
||||
@@ -138,10 +141,6 @@ class FeedItem
|
||||
{
|
||||
return $this->entry;
|
||||
}
|
||||
/**
|
||||
* @var integer
|
||||
*/
|
||||
private $ord;
|
||||
|
||||
/**
|
||||
* Set ord
|
||||
|
Reference in New Issue
Block a user