1
0
mirror of synced 2025-03-14 00:26:08 +03:00

#6284 reducing annotation mapping clutter

This commit is contained in:
Marco Pivetta 2017-08-22 21:17:14 +02:00
parent 4e0b76ce69
commit ca39abcd71
No known key found for this signature in database
GPG Key ID: 4167D3337FD9D629

View File

@ -54,13 +54,7 @@ final class GH6217Test extends OrmFunctionalTestCase
/** @Entity @Cache(usage="NONSTRICT_READ_WRITE") */
class GH6217User
{
/**
* @Id
* @Column(type="string")
* @GeneratedValue(strategy="NONE")
*
* @var string
*/
/** @Id @Column(type="string") @GeneratedValue(strategy="NONE") */
public $id;
public function __construct()
@ -72,13 +66,7 @@ class GH6217User
/** @Entity @Cache(usage="NONSTRICT_READ_WRITE") */
class GH6217Profile
{
/**
* @Id
* @Column(type="string")
* @GeneratedValue(strategy="NONE")
*
* @var string
*/
/** @Id @Column(type="string") @GeneratedValue(strategy="NONE") */
public $id;
public function __construct()
@ -90,13 +78,7 @@ class GH6217Profile
/** @Entity @Cache(usage="NONSTRICT_READ_WRITE") */
class GH6217Category
{
/**
* @Id
* @Column(type="string")
* @GeneratedValue(strategy="NONE")
*
* @var string
*/
/** @Id @Column(type="string") @GeneratedValue(strategy="NONE") */
public $id;
public function __construct()