issue #1579 : Add models

This commit is contained in:
Michael RICOIS 2013-03-19 09:42:10 +00:00
parent 83d545c0c8
commit 86bc121292
16 changed files with 38 additions and 1 deletions

View File

@ -2,4 +2,5 @@
class Application_Model_CodePostaux extends Zend_Db_Table_Abstract
{
protected $_name = 'fields_codepostaux';
protected $_schema = 'ciblage';
}

View File

@ -2,4 +2,5 @@
class Application_Model_Comptages extends Zend_Db_Table_Abstract
{
protected $_name = 'ciblage_comptages';
protected $_schema = 'ciblage';
}

View File

@ -2,4 +2,5 @@
class Application_Model_Criteres extends Zend_Db_Table_Abstract
{
protected $_name = 'ciblage_criteres';
protected $_schema = 'ciblage';
}

View File

@ -2,4 +2,5 @@
class Application_Model_CustomerParams extends Zend_Db_Table_Abstract
{
protected $_name = 'customer_params';
protected $_schema = 'ciblage';
}

View File

@ -2,4 +2,5 @@
class Application_Model_Departements extends Zend_Db_Table_Abstract
{
public $_name = 'fields_departements';
protected $_schema = 'ciblage';
}

View File

@ -2,4 +2,5 @@
class Application_Model_EnrichissementIdentifiants extends Zend_Db_Table_Abstract
{
public $_name = 'enrichissement_identifiants';
protected $_schema = 'ciblage';
}

View File

@ -2,4 +2,5 @@
class Application_Model_EnrichissementProfils extends Zend_Db_Table_Abstract
{
public $_name = 'enrichissement_profils';
protected $_schema = 'ciblage';
}

View File

@ -3,5 +3,5 @@ class Application_Model_FormeJuridique extends Zend_Db_Table_Abstract
{
protected $_name = 'fields_formejuridique';
protected $_primary = 'fjCode';
protected $_schema = 'ciblage';
}

View File

@ -2,4 +2,5 @@
class Application_Model_MinMax extends Zend_Db_Table_Abstract
{
protected $_name = 'fields_minmax';
protected $_schema = 'ciblage';
}

View File

@ -2,4 +2,5 @@
class Application_Model_Naf extends Zend_Db_Table_Abstract
{
protected $_name = 'fields_naf';
protected $_schema = 'ciblage';
}

View File

@ -2,4 +2,5 @@
class Application_Model_Prefs extends Zend_Db_Table_Abstract
{
protected $_name = 'customer_prefs';
protected $_schema = 'ciblage';
}

View File

@ -2,5 +2,6 @@
class Application_Model_Regions extends Zend_Db_Table_Abstract
{
protected $_name = 'fields_regions';
protected $_schema = 'ciblage';
}

View File

@ -2,4 +2,5 @@
class Application_Model_JoSpinxIdx extends Zend_Db_Table_Abstract
{
protected $_name = 'sphinx_idx';
protected $_schema = 'jo';
}

View File

@ -0,0 +1,6 @@
<?php
class Application_Model_Sdv1Clients extends Zend_Db_Table_Abstract
{
protected $_name = 'clients';
protected $_schema = 'sdv1';
}

View File

@ -0,0 +1,13 @@
<?php
class Application_Model_Sdv1Utilisateurs extends Zend_Db_Table_Abstract
{
protected $_name = 'utilisateurs';
protected $_schema = 'sdv1';
protected $_referenceMap = array(
'Reporter' => array(
'columns' => 'idClient',
'refTableClass' => 'Sdv1Clients',
'refColumns' => 'id'
),
);
}

View File

@ -0,0 +1,6 @@
<?php
class Application_Model_Sdv1UtilisateursService extends Zend_Db_Table_Abstract
{
protected $_name = 'utilisateurs_service';
protected $_schema = 'sdv1';
}