Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
sygal-import-ws
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
open-source
sygal-import-ws
Commits
7a9a5d15
Commit
7a9a5d15
authored
Apr 9, 2018
by
Bertrand Gauthier
Browse files
Options
Downloads
Patches
Plain Diff
Mapping et entité Structure
parent
915f673a
No related branches found
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
module/ImportData/src/V1/Entity/Db/Mapping/ImportData.V1.Entity.Db.Structure.dcm.xml
+15
-0
15 additions, 0 deletions
...tity/Db/Mapping/ImportData.V1.Entity.Db.Structure.dcm.xml
module/ImportData/src/V1/Entity/Db/Structure.php
+243
-0
243 additions, 0 deletions
module/ImportData/src/V1/Entity/Db/Structure.php
with
258 additions
and
0 deletions
module/ImportData/src/V1/Entity/Db/Mapping/ImportData.V1.Entity.Db.Structure.dcm.xml
0 → 100644
+
15
−
0
View file @
7a9a5d15
<?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>
This diff is collapsed.
Click to expand it.
module/ImportData/src/V1/Entity/Db/Structure.php
0 → 100644
+
243
−
0
View file @
7a9a5d15
<?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
;
}
}
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment