View camera archive list. Stub for archive record page

This commit is contained in:
ftc
2023-07-02 17:18:17 +03:00
parent b19e70b005
commit 477afbecd1
6 changed files with 93 additions and 4 deletions
+19
View File
@@ -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'];
}
}