Skip to content
Snippets Groups Projects
Commit 7a9a5d15 authored by Bertrand Gauthier's avatar Bertrand Gauthier
Browse files

Mapping et entité Structure

parent 915f673a
No related branches found
No related tags found
No related merge requests found
<?xml version="1.0" encoding="utf-8"?>
<doctrine-mapping xmlns="http://doctrine-project.org/schemas/orm/doctrine-mapping"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
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\Structure" table="APOGEE.OBJECTH_STRUCTURE">
<id name="id" type="string" column="ID" />
<field name="sourceId" type="string" length="64" column="SOURCE_ID" nullable="true"/>
<field name="typeStructureId" type="string" length="64" column="TYPE_STRUCTURE_ID" nullable="true"/>
<field name="code" type="string" length="64" column="CODE" nullable="true"/>
<field name="sigle" type="string" length="64" column="SIGLE" nullable="true"/>
<field name="libelle" type="string" length="200" column="LIBELLE" nullable="true"/>
<field name="codePays" type="string" length="64" column="CODE_PAYS" nullable="true"/>
<field name="libellePays" type="string" length="200" column="LIBELLE_PAYS" nullable="true"/>
</entity>
</doctrine-mapping>
<?php
namespace ImportData\V1\Entity\Db;
/**
* Structure
*/
class Structure
{
/**
* @var string
*/
private $id;
/**
* @var string
*/
private $code;
/**
* @var string
*/
private $sourceId;
/**
* @var string
*/
private $typeStructureId;
/**
* @var string
*/
private $sigle;
/**
* @var string
*/
private $libelle;
/**
* @var string
*/
private $codePays;
/**
* @var string
*/
private $libellePays;
/**
* Set id
*
* @param string $id
*
* @return Structure
*/
public function setId($id)
{
$this->id = $id;
return $this;
}
/**
* Get id
*
* @return string
*/
public function getId()
{
return $this->id;
}
/**
* Set code
*
* @param string $code
*
* @return Structure
*/
public function setCode($code)
{
$this->code = $code;
return $this;
}
/**
* Get code
*
* @return string
*/
public function getCode()
{
return $this->code;
}
/**
* Set sourceId
*
* @param string $sourceId
*
* @return Structure
*/
public function setSourceId($sourceId)
{
$this->sourceId = $sourceId;
return $this;
}
/**
* Get sourceId
*
* @return string
*/
public function getSourceId()
{
return $this->sourceId;
}
/**
* Set typeStructureId
*
* @param string $typeStructureId
*
* @return Structure
*/
public function setTypeStructureId($typeStructureId)
{
$this->typeStructureId = $typeStructureId;
return $this;
}
/**
* Get typeStructureId
*
* @return string
*/
public function getTypeStructureId()
{
return $this->typeStructureId;
}
/**
* Set sigle
*
* @param string $sigle
*
* @return Structure
*/
public function setSigle($sigle)
{
$this->sigle = $sigle;
return $this;
}
/**
* Get sigle
*
* @return string
*/
public function getSigle()
{
return $this->sigle;
}
/**
* Set libelle
*
* @param string $libelle
*
* @return Structure
*/
public function setLibelle($libelle)
{
$this->libelle = $libelle;
return $this;
}
/**
* Get libelle
*
* @return string
*/
public function getLibelle()
{
return $this->libelle;
}
/**
* Set codePays
*
* @param string $codePays
*
* @return Structure
*/
public function setCodePays($codePays)
{
$this->codePays = $codePays;
return $this;
}
/**
* Get codePays
*
* @return string
*/
public function getCodePays()
{
return $this->codePays;
}
/**
* Set libellePays
*
* @param string $libellePays
*
* @return Structure
*/
public function setLibellePays($libellePays)
{
$this->libellePays = $libellePays;
return $this;
}
/**
* Get libellePays
*
* @return string
*/
public function getLibellePays()
{
return $this->libellePays;
}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment