<?php

namespace LdapRecord\Models\ActiveDirectory;

class OrganizationalUnit extends Entry
{
    /**
     * The object classes of the LDAP model.
     *
     * @var array
     */
    public static $objectClasses = [
        'top',
        'organizationalunit',
    ];

    /**
     * Get the creatable RDN attribute name.
     *
     * @return string
     */
    public function getCreatableRdnAttribute()
    {
        return 'ou';
    }
}
