update gui get image

This commit is contained in:
2020-11-27 13:46:06 +07:00
parent 566c065303
commit 73b44eb2af
5 changed files with 230 additions and 0 deletions

50
models/CaptureLogs.php Normal file
View File

@@ -0,0 +1,50 @@
<?php
namespace app\models;
use Yii;
/**
* This is the model class for table "capture_logs".
*
* @property int $ID
* @property int $Time
* @property string $Image
* @property int $Status
* @property string $Remark
*/
class CaptureLogs extends \yii\db\ActiveRecord
{
/**
* {@inheritdoc}
*/
public static function tableName()
{
return 'capture_logs';
}
/**
* {@inheritdoc}
*/
public function rules()
{
return [
[['Time', 'Status'], 'integer'],
[['Image', 'Remark'], 'string'],
];
}
/**
* {@inheritdoc}
*/
public function attributeLabels()
{
return [
'ID' => 'ID',
'Time' => 'Time',
'Image' => 'Image',
'Status' => 'Status',
'Remark' => 'Remark',
];
}
}