- Added a new ObjectType annotation.

- Computer entity added
- Fixed some problem related to filter and repository of LDAP specific methods.
This commit is contained in:
mcndave committed 2021-03-29 20:02:17 +00:00
1 parent 1b11917bf5
commit a0363ebb71
5 files changed
+67 -5

No files matched your search

+44 -1
View File
@@ -1,10 +1,53 @@
<?php
namespace Ulmus\Ldap\Entity;
use Ulmus\Ldap\Entity\Field\{ Datetime };
/**
* @ObjectClass('computer')
*/
class Computer
{
use \Ulmus\Ldap\EntityTrait;
/**
* @Field
*/
public string $samaccountname;
/**
* @Field
*/
public string $name;
/**
* @Field
*/
public string $description;
/**
* @Field('DNSHostName')
*/
public string $hostname;
/**
* @Field
*/
public string $location;
/**
* @Field
*/
public string $operatingSystem;
/**
* @Field
*/
public string $operatingSystemServicePack;
/**
* @Field
*/
public string $operatingSystemVersion;
}