View camera archive list. Stub for archive record page
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
<?php
|
||||
|
||||
namespace app\models\zm;
|
||||
|
||||
class Event
|
||||
{
|
||||
public $id;
|
||||
public $monitor_id;
|
||||
public $start_time;
|
||||
public $end_time;
|
||||
|
||||
public function __construct($json)
|
||||
{
|
||||
$this->id = $json['Id'];
|
||||
$this->monitor_id = $json['MonitorId'];
|
||||
$this->start_time = $json['StartDateTime'];
|
||||
$this->end_time = $json['EndDateTime'];
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user