đồng bộ dữ liệu lên máy chủ
This commit is contained in:
@@ -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'
|
||||
];
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user