- Added attributes and also Group[C
This commit is contained in:
1 parent
bced56ba77
commit
7a06f5fd64
7 files changed
+141
-190
No files matched your search
+13
-27
@@ -4,50 +4,36 @@ namespace Ulmus\Ldap\Entity;
|
||||
|
||||
use Ulmus\Ldap\Entity\Field\{ Datetime };
|
||||
|
||||
/**
|
||||
* @ObjectClass('computer')
|
||||
*/
|
||||
use Ulmus\Attribute\Property\Field;
|
||||
|
||||
use Ulmus\Ldap\Attribute\Obj\ObjectClass;
|
||||
|
||||
#[ObjectClass("computer")]
|
||||
class Computer
|
||||
{
|
||||
use \Ulmus\Ldap\EntityTrait;
|
||||
|
||||
/**
|
||||
* @Field
|
||||
*/
|
||||
#[Field]
|
||||
public string $samaccountname;
|
||||
|
||||
/**
|
||||
* @Field
|
||||
*/
|
||||
#[Field]
|
||||
public string $name;
|
||||
|
||||
/**
|
||||
* @Field
|
||||
*/
|
||||
#[Field]
|
||||
public string $description;
|
||||
|
||||
/**
|
||||
* @Field('DNSHostName')
|
||||
*/
|
||||
#[Field("DNSHostName")]
|
||||
public string $hostname;
|
||||
|
||||
/**
|
||||
* @Field
|
||||
*/
|
||||
#[Field]
|
||||
public string $location;
|
||||
|
||||
/**
|
||||
* @Field
|
||||
*/
|
||||
#[Field]
|
||||
public string $operatingSystem;
|
||||
|
||||
/**
|
||||
* @Field
|
||||
*/
|
||||
#[Field]
|
||||
public string $operatingSystemServicePack;
|
||||
|
||||
/**
|
||||
* @Field
|
||||
*/
|
||||
#[Field]
|
||||
public string $operatingSystemVersion;
|
||||
}
|
||||
Reference in new issue
Block a user