<?php
namespace Entity;
use Opifer\Revisions\Mapping\Annotation as Revisions;
use Doctrine\ORM\Mapping as ORM;
/**
* @ORM\Table(name="articles")
* @ORM\Entity
*/
class Article
{
/** @ORM\Id @ORM\GeneratedValue @ORM\Column(type="integer") */
private $id;
/**
* @Revisions\Revised
* @ORM\Column(length=128)
*/
private $title;
/**
* @Revisions\Revised
* @ORM\Column(type="text")
*/
private $content;
/**
* @Revisions\Draft
*/
private $draft;
}
-
Notifications
You must be signed in to change notification settings - Fork 2
Keep revisions and drafts of Entity data
License
Opifer/Revisions
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
Keep revisions and drafts of Entity data
Resources
License
Stars
Watchers
Forks
Packages 0
No packages published