- Quickfix on EntityTrait annotations removal
This commit is contained in:
parent
f6d86001d5
commit
a3f174b7f3
|
@ -2,26 +2,20 @@
|
||||||
|
|
||||||
namespace Ulmus\Ldap;
|
namespace Ulmus\Ldap;
|
||||||
|
|
||||||
use Ulmus\{ Ulmus, EventTrait, Query, Common\EntityResolver, Common\EntityField };
|
use Ulmus\{Attribute\Property\Field, Ulmus, EventTrait, Query, Common\EntityResolver, Common\EntityField};
|
||||||
|
|
||||||
use Ulmus\Ldap\Annotation\Classes\{ ObjectClass, ObjectType, };
|
use Ulmus\Ldap\Annotation\Classes\{ ObjectClass, ObjectType, };
|
||||||
|
|
||||||
trait EntityTrait {
|
trait EntityTrait {
|
||||||
use \Ulmus\EntityTrait;
|
use \Ulmus\EntityTrait;
|
||||||
|
|
||||||
/**
|
#[Field\Id(readonly: true)]
|
||||||
* @Id('readonly' => true)
|
|
||||||
*/
|
|
||||||
public string $dn;
|
public string $dn;
|
||||||
|
|
||||||
/**
|
#[Field]
|
||||||
* @Field
|
|
||||||
*/
|
|
||||||
public string $cn;
|
public string $cn;
|
||||||
|
|
||||||
/**
|
#[Field]
|
||||||
* @Field
|
|
||||||
*/
|
|
||||||
public array $objectClass;
|
public array $objectClass;
|
||||||
|
|
||||||
public static function resolveEntity() : EntityResolver
|
public static function resolveEntity() : EntityResolver
|
||||||
|
|
Loading…
Reference in New Issue