Corrected incoherences in entities

This commit is contained in:
Andrey
2013-08-06 16:47:20 +02:00
parent d788ac91f8
commit 718eb48669
5 changed files with 18 additions and 34 deletions

View File

@@ -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