đồng bộ dữ liệu lên máy chủ

This commit is contained in:
2020-12-11 14:00:23 +07:00
parent e27b8de414
commit 5d5de05f85
5 changed files with 38 additions and 31 deletions

View File

@@ -12,8 +12,9 @@ use Yii;
* @property int $time
* @property string $image
* @property int $status
* @property string $remark
* @property string $remark
* @property string $confidence
* @property int $sync_status
*/
class CaptureLogs extends \yii\db\ActiveRecord {
@@ -29,7 +30,7 @@ class CaptureLogs extends \yii\db\ActiveRecord {
*/
public function rules() {
return [
[['staff_id', 'time', 'status'], 'integer'],
[['staff_id', 'time', 'status', 'sync_status'], 'integer'],
[['image', 'remark', 'confidence'], 'string'],
];
}
@@ -46,7 +47,8 @@ class CaptureLogs extends \yii\db\ActiveRecord {
'remark' => 'Remark',
'staff_name' => "Name",
'staff_image' => "Registration Image",
'confidence' => 'Confidence'
'confidence' => 'Confidence',
'sync_status' => 'Sync Status'
];
}