Loading module/Import/src/Import/Model/Mapping/Import.Model.TmpVariable.dcm.xml +2 Changes for module/Import/src/Import/Model/Mapping/Import.Model.TmpVariable.dcm.xml: 2 added lines, 0 removed lines. Original line number Diff line number Diff line Loading @@ -9,6 +9,8 @@ <field name="libEtablissement" type="string" column="COD_VAP" length="50" nullable="true"/> <field name="libResponsable" type="string" column="LIB_VAP" length="300" nullable="true"/> <field name="libTitre" type="string" column="PAR_VAP" length="200" nullable="true"/> <field name="dateDebValidite" type="date" column="DATE_DEB_VALIDITE" nullable="true"/> <field name="dateFinValidite" type="date" column="DATE_FIN_VALIDITE" nullable="true"/> <field name="sourceCode" type="string" column="SOURCE_CODE" length="64" nullable="true"/> </entity> </doctrine-mapping> No newline at end of file module/Import/src/Import/Model/TmpVariable.php +4 Changes for module/Import/src/Import/Model/TmpVariable.php: 4 added lines, 0 removed lines. Original line number Diff line number Diff line Loading @@ -11,6 +11,8 @@ class TmpVariable { protected $libResponsable; protected $libTitre; protected $sourceCode; protected $dateDebValidite; protected $dateFinValidite; public function __construct($json) { $this->id = $json->{'id'}; Loading @@ -18,6 +20,8 @@ class TmpVariable { $this->libEtablissement = $json->{'libEtablissement'}; $this->libResponsable = $json->{'libResponsable'}; $this->libTitre = $json->{'libTitre'}; $this->dateDebValidite = new \DateTime($json->{'dateDebValidite'}->{'date'}); $this->dateFinValidite = new \DateTime($json->{'dateFinValidite'}->{'date'}); } } No newline at end of file Loading
module/Import/src/Import/Model/Mapping/Import.Model.TmpVariable.dcm.xml +2 Changes for module/Import/src/Import/Model/Mapping/Import.Model.TmpVariable.dcm.xml: 2 added lines, 0 removed lines. Original line number Diff line number Diff line Loading @@ -9,6 +9,8 @@ <field name="libEtablissement" type="string" column="COD_VAP" length="50" nullable="true"/> <field name="libResponsable" type="string" column="LIB_VAP" length="300" nullable="true"/> <field name="libTitre" type="string" column="PAR_VAP" length="200" nullable="true"/> <field name="dateDebValidite" type="date" column="DATE_DEB_VALIDITE" nullable="true"/> <field name="dateFinValidite" type="date" column="DATE_FIN_VALIDITE" nullable="true"/> <field name="sourceCode" type="string" column="SOURCE_CODE" length="64" nullable="true"/> </entity> </doctrine-mapping> No newline at end of file
module/Import/src/Import/Model/TmpVariable.php +4 Changes for module/Import/src/Import/Model/TmpVariable.php: 4 added lines, 0 removed lines. Original line number Diff line number Diff line Loading @@ -11,6 +11,8 @@ class TmpVariable { protected $libResponsable; protected $libTitre; protected $sourceCode; protected $dateDebValidite; protected $dateFinValidite; public function __construct($json) { $this->id = $json->{'id'}; Loading @@ -18,6 +20,8 @@ class TmpVariable { $this->libEtablissement = $json->{'libEtablissement'}; $this->libResponsable = $json->{'libResponsable'}; $this->libTitre = $json->{'libTitre'}; $this->dateDebValidite = new \DateTime($json->{'dateDebValidite'}->{'date'}); $this->dateFinValidite = new \DateTime($json->{'dateFinValidite'}->{'date'}); } } No newline at end of file