This commit is contained in:
MeSHard
2025-12-01 11:19:23 +08:00
parent adc5fd81aa
commit b22d09bd39
4440 changed files with 815952 additions and 0 deletions

View File

@@ -0,0 +1,64 @@
<?php
namespace app\admin\model\yq\alarm;
use app\admin\model\yq\base_config\Early;
use think\Model;
class Alarm extends Model
{
// 表名
protected $name = 'call_the_police';
// 自动写入时间戳字段
protected $autoWriteTimestamp = false;
// 定义时间戳字段名
protected $createTime = false;
protected $updateTime = false;
protected $deleteTime = false;
// 追加属性
protected $append = [
];
public function getTriggerTypeList()
{
return ['1'=>__('Trigger_type 1'),'2'=>__('Trigger_type 2')];
}
public function getFeedbackStatusList()
{
return ['1'=>__('Feedback_status 1'),'2'=>__('Feedback_status 2'),'3'=>__('Feedback_status 3')];
}
public function getResStatusList()
{
return ['1'=>__('Res_status 1'),'2'=>__('Res_status 2'),'3'=>__('Res_status 3')];
}
public function getResDepartmentList()
{
return ['1'=>__('Res_department 1'),'2'=>__('Res_department 2'),'3'=>__('Res_department 3')];
}
public function getFeedbackDepartmentList()
{
return ['1'=>__('Feedback_department 1'),'2'=>__('Feedback_department 2'),'3'=>__('Feedback_department 3')];
}
public function getIsResetList()
{
return ['1'=>__('Is_reset 1'),'0'=>__('Is_reset 0')];
}
}