zoneminder/web/app/Model/Zone.php

12 lines
214 B
PHP
Raw Normal View History

<?php
class Zone extends AppModel {
2013-07-18 20:08:07 +08:00
public $useTable = 'Zones';
public $primaryKey = 'Id';
public $belongsTo = array(
'Monitor' => array(
'className' => 'Monitor',
'foreignKey' => 'MonitorId')
);
}
?>