Stellenauschreibun und nun Pro Accounts

This commit is contained in:
Martin Müller 2014-11-25 19:50:56 +01:00
parent 11b6254dbe
commit bbd64642cf
1 changed files with 42 additions and 0 deletions

View File

@ -0,0 +1,42 @@
<?php
App::uses('AppModel', 'Model');
/**
*/
class DreamjobCompanyPro extends AppModel {
/**
* Use database config
*
* @var string
*/
public $useDbConfig = 'dreamjobMain';
/**
* Use table
*
* @var mixed False or table name
*/
public $useTable = 'mic_dj_account_cmpy_pro';
/**
* Display field
*
* @var string
*/
public $displayField = 'company_id';
/**
* Validation rules
*
* @var array
*/
public $validate = array(
);
public $hasOne = array(
'DreamjobCompany' => array(
'className' => 'DreamjobCompany',
'foreignKey' => 'djaccount_ptr_id'
)
);
}