From 2be356eff82b57a80489bdcb561cd8cc86022214 Mon Sep 17 00:00:00 2001
From: David Surville <david.surville@unicaen.fr>
Date: Mon, 4 Jan 2021 15:47:03 +0100
Subject: [PATCH] Ajout attribut "unicaenRefId"

---
 src/UnicaenLdap/Entity/Base/People.php | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)

diff --git a/src/UnicaenLdap/Entity/Base/People.php b/src/UnicaenLdap/Entity/Base/People.php
index cfdd81b..9c5ad32 100644
--- a/src/UnicaenLdap/Entity/Base/People.php
+++ b/src/UnicaenLdap/Entity/Base/People.php
@@ -158,6 +158,7 @@ class People extends Entity
         'ucbnStructureRecherche',
         'uidNumber',
         'unicaenMonEtupass',
+        'unicaenRefId',
         'unicaenSecuriteCompte',
         'unicaenServiceEtat',
         'unicaenTermsOfUse',
@@ -213,6 +214,7 @@ class People extends Entity
         'ucbnServicePapercut',
         'ucbnSquidHash',
         'uidNumber',
+        'unicaenRefId',
         'userPassword',
     ];
 
@@ -1560,6 +1562,23 @@ class People extends Entity
         return $this;
     }
 
+    /**
+     * Attribut Ldap "unicaenRefId"
+     *
+     * @param array|string|null $value
+     * @param bool $append
+     * @return self
+     * @throws Exception
+     * @throws LdapException
+     */
+    public function setUnicaenRefId($value = null, $append = false)
+    {
+        $value = $this->preFormat($value);
+        $this->appendOrNot('unicaenRefId', $value, $append);
+
+        return $this;
+    }
+
     /**
      * Attribut Ldap "unicaenServiceEtat"
      *
-- 
GitLab