2013-05-01 19:02:12 +08:00
|
|
|
<?php
|
|
|
|
class Event extends AppModel {
|
2013-05-02 06:21:46 +08:00
|
|
|
public $useTable = 'Events';
|
2013-05-02 20:55:59 +08:00
|
|
|
public $belongsTo = array(
|
|
|
|
'Monitor' => array(
|
|
|
|
'className' => 'Monitor',
|
|
|
|
'foreignKey' => 'MonitorId'
|
|
|
|
)
|
|
|
|
);
|
2013-05-01 19:02:12 +08:00
|
|
|
}
|
|
|
|
?>
|