From 4007e6294c3aa5a8cd12bb4ad54a04211f03eea3 Mon Sep 17 00:00:00 2001
From: Cyril Vazquez <cyril.vazquez@maarch.org>
Date: Mon, 26 Aug 2024 12:07:59 +0200
Subject: [PATCH] Add labels for SEDA and SEDA 2 Organization models

---
 bundle/seda/Model/Code.php          |  2 ++
 bundle/seda/Model/ID.php            |  2 ++
 bundle/seda/Model/Organization.php  | 20 ++++++++++++++++++--
 bundle/seda2/Model/Organization.php |  2 +-
 4 files changed, 23 insertions(+), 3 deletions(-)

diff --git a/bundle/seda/Model/Code.php b/bundle/seda/Model/Code.php
index eeaf3197..acf849f1 100644
--- a/bundle/seda/Model/Code.php
+++ b/bundle/seda/Model/Code.php
@@ -12,6 +12,8 @@ namespace ext\archivesPubliques\bundle\seda\Model;
 class Code
 {
     /**
+     * Valeur
+     * 
      * @var string
      * @xpath text()
      */
diff --git a/bundle/seda/Model/ID.php b/bundle/seda/Model/ID.php
index 43fab0d6..70c8a787 100644
--- a/bundle/seda/Model/ID.php
+++ b/bundle/seda/Model/ID.php
@@ -12,6 +12,8 @@ namespace ext\archivesPubliques\bundle\seda\Model;
 class ID
 {
     /**
+     * Valeur 
+     * 
      * @var string
      * @xpath text()
      */
diff --git a/bundle/seda/Model/Organization.php b/bundle/seda/Model/Organization.php
index e9bfbe19..9d9f085c 100644
--- a/bundle/seda/Model/Organization.php
+++ b/bundle/seda/Model/Organization.php
@@ -12,7 +12,7 @@ namespace ext\archivesPubliques\bundle\seda\Model;
 class Organization
 {
     /**
-     * The org id
+     * Identifiant
      *
      * @var id
      * @xvalue generate-id
@@ -20,7 +20,7 @@ class Organization
     public $id;
 
     /**
-     * The org role
+     * Rôles
      *
      * @var id
      * @xvalue local-name
@@ -28,48 +28,64 @@ class Organization
     public $orgRoleCode;
 
     /**
+     * Nature de l'activité
+     * 
      * @var seda/Code
      * @xpath seda:BusinessType
      */
     public $businessType;
 
     /**
+     * Description
+     * 
      * @var string
      * @xpath seda:Description
      */
     public $description;
 
     /**
+     * Identifiant
+     * 
      * @var seda/ID
      * @xpath seda:Identification
      */
     public $identification;
     
     /**
+     * Forme juridique
+     * 
      * @var seda/Code
      * @xpath seda:LegalClassification
      */
     public $legalClassification;
 
     /**
+     * Nom
+     * 
      * @var string
      * @xpath seda:Name
      */
     public $name;
 
     /**
+     * Adresses
+     * 
      * @var seda/Address[]
      * @xpath seda:Address
      */
     public $address;
 
     /**
+     * Moyens de communication
+     * 
      * @var seda/Communication[]
      * @xpath seda:Communication
      */
     public $communication;
 
     /**
+     * Contacts
+     * 
      * @var seda/Contact[]
      * @xpath seda:Contact
      */
diff --git a/bundle/seda2/Model/Organization.php b/bundle/seda2/Model/Organization.php
index 5f7ca1be..d0bc11e7 100644
--- a/bundle/seda2/Model/Organization.php
+++ b/bundle/seda2/Model/Organization.php
@@ -21,7 +21,7 @@ class Organization
     public $identifier;
 
     /**
-     * Organization informations
+     * Description
      *
      * @var seda2/OrganizationDescriptiveMetadata
      * @xpath seda2:OrganizationDescriptiveMetadata
-- 
GitLab