You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

34 lines
827 B

2 years ago
<?php
namespace App\Models;
use App\Admin;
class AskSubmit extends SoftDeletesModel
{
protected $table = "ask_submits";
protected $casts = ['content'=>'json'];
2 years ago
protected $guarded = ['id'];
public static $askList = [
"遵守医院各项规章制度,维持秩序。",
"接受医师、护士指导,并认真正确执行。",
"保持床单元及周围环境清洁整齐,节约水电,不损坏公物。",
"交接班、查房时间段在岗,并且手机、电视机保持静音。",
"公司管理人员对陪护工作管理及持续改进。"
];
2 years ago
public function admin()
{
return $this->hasOne(Admin::class,'id','admin_id');
}
public function project()
{
return $this->hasOne(Project::class,'id','project_id');
}
2 years ago
2 years ago
}