40 lines
702 B
PHP
40 lines
702 B
PHP
<?php
|
|
|
|
namespace Ulmus\Ldap\Entity;
|
|
|
|
use Ulmus\Ldap\Entity\Field\{ Datetime };
|
|
|
|
use Ulmus\Attribute\Property\Field;
|
|
|
|
use Ulmus\Entity\EntityInterface;
|
|
use Ulmus\Ldap\Attribute\Obj\ObjectClass;
|
|
|
|
#[ObjectClass("computer")]
|
|
class Computer implements EntityInterface
|
|
{
|
|
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;
|
|
} |