43 lines
587 B
PHP
43 lines
587 B
PHP
<?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'
|
|
)
|
|
);
|
|
}
|