- Added attributes and also Group[C

This commit is contained in:
Dave Mc Nicoll committed 2023-09-26 11:25:19 -04:00
1 parent bced56ba77
commit 7a06f5fd64
7 files changed
+141 -190

No files matched your search

+13 -27
View File
@@ -4,51 +4,37 @@ namespace Ulmus\Ldap\Entity;
use Ulmus\Ldap\Entity\Field\{ Datetime };
/**
* @ObjectClass('organizationalUnit')
*/
use Ulmus\Attribute\Property\Field;
use Ulmus\Ldap\Attribute\Obj\ObjectClass;
#[ObjectClass("organizationalUnit")]
class OrganizationalUnit
{
use \Ulmus\Ldap\EntityTrait;
/**
* @Id
*/
#[Field\Id]
public string $ou;
/**
* @Field
*/
#[Field]
public string $description;
/**
* @Field('name' => "st")
*/
#[Field(name: "st")]
public string $state;
/**
* @Field('name' => 'physicalDeliveryOfficeName')
*/
#[Field(name: "physicalDeliveryOfficeName")]
public string $officeName;
/**
* @Field('name' => 'postalAddress')
*/
#[Field(name: "postalAddress")]
public string $address;
/**
* @Field
*/
#[Field]
public string $postalCode;
/**
* @Field
*/
#[Field]
public string $telephoneNumber;
/**
* @Field('name' => 'objectGUID')
*/
#[Field(name: "objectGUID")]
public string $guid;
public function __toString() : string