51 lines
866 B
PHP
51 lines
866 B
PHP
<?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',
|
|
];
|
|
}
|
|
}
|