Commit 67e96ad4 authored by Jean-Philippe Metivier's avatar Jean-Philippe Metivier
Browse files

Correction missmatch OTH->SYGAL

parent 3d4042ea
......@@ -4,6 +4,7 @@
xsi:schemaLocation="http://doctrine-project.org/schemas/orm/doctrine-mapping http://doctrine-project.org/schemas/orm/doctrine-mapping.xsd">
<entity name="ImportData\V1\Entity\Db\Source" table="APOGEE.OBJECTH_SOURCE">
<id name="id" type="string" length="6" column="ID" />
<field name="code" type="string" length="6" column="CODE" nullable="true"/>
<field name="libelle" type="string" length="6" column="LIBELLE" nullable="true"/>
<field name="importable" type="integer" column="IMPORTABLE" nullable="true"/>
</entity>
......
......@@ -13,6 +13,7 @@ class Source
* @var integer
*/
protected $id;
protected $code;
protected $libelle;
protected $importable;
......@@ -64,6 +65,22 @@ class Source
$this->importable = $importable;
}
/**
* @return mixed
*/
public function getCode()
{
return $this->code;
}
/**
* @param mixed $code
*/
public function setCode($code)
{
$this->code = $code;
}
}
\ No newline at end of file
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment