Stellenauschreibun und nun Pro Accounts
This commit is contained in:
parent
11b6254dbe
commit
bbd64642cf
|
@ -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'
|
||||
)
|
||||
);
|
||||
}
|
Loading…
Reference in New Issue