dreamjob/app/Model/DreamjobCompanyPro.php

43 lines
587 B
PHP
Raw Permalink Normal View History

2015-03-31 14:49:03 +02:00
<?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'
)
);
}