Skip to content

Instantly share code, notes, and snippets.

@maxmanders
Created July 22, 2012 19:40
Show Gist options
  • Save maxmanders/3160840 to your computer and use it in GitHub Desktop.
Save maxmanders/3160840 to your computer and use it in GitHub Desktop.
namespace SpecdIt\Entity;
use \Doctrine\Common\Collections\ArrayCollection;
/**
* @Entity(repositoryClass="SpecdIt\Entity\Repository\UserRepository")
* @Table(name="user",uniqueConstraints={@UniqueConstraint(name="user_email_idx",columns={"email"})})
* @HasLifeCycleCallbacks
*/
class User implements Zend_Acl_Role_Interface
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment