修正医生评价
This commit is contained in:
@@ -37,7 +37,7 @@ class DiseaseClass extends Model
|
||||
/**
|
||||
* The attributes that should be cast to native types.
|
||||
*/
|
||||
protected array $casts = ['disease_class_id' => 'integer', 'expertise_id' => 'integer', 'disease_class_status' => 'integer', 'disease_class_enable' => 'integer', 'icd_id' => 'integer', 'is_hot' => 'integer', 'created_at' => 'datetime', 'updated_at' => 'datetime'];
|
||||
protected array $casts = ['disease_class_id' => 'string', 'expertise_id' => 'string', 'disease_class_status' => 'integer', 'disease_class_enable' => 'integer', 'icd_id' => 'string', 'is_hot' => 'integer', 'created_at' => 'datetime', 'updated_at' => 'datetime'];
|
||||
|
||||
protected string $primaryKey = "disease_class_id";
|
||||
|
||||
|
||||
@@ -13,10 +13,11 @@ use Hyperf\Snowflake\Concern\Snowflake;
|
||||
* @property int $doctor_id 医生id
|
||||
* @property int $patient_id 患者id
|
||||
* @property int $order_inquiry_id 订单-问诊id
|
||||
* @property string $name_mask 患者姓名(掩码)
|
||||
* @property string $reply_quality 回复质量(百分制)
|
||||
* @property string $service_attitude 服务态度(百分制)
|
||||
* @property string $reply_progress 回复速度(百分制)
|
||||
* @property string $avg_score 平均得分(百分制)
|
||||
* @property string $avg_score 平均得分(百分制,回复质量占4、服务态度占3、回复速度占3,计算公式:每个得分 * 占比 相加)
|
||||
* @property int $type 类型(1:默认评价 2:主动评价)
|
||||
* @property string $content 评价内容
|
||||
* @property \Carbon\Carbon $created_at 创建时间
|
||||
@@ -34,7 +35,7 @@ class OrderEvaluation extends Model
|
||||
/**
|
||||
* The attributes that are mass assignable.
|
||||
*/
|
||||
protected array $fillable = ['evaluation_id', 'doctor_id', 'patient_id', 'order_inquiry_id', 'reply_quality', 'service_attitude', 'reply_progress', 'avg_score', 'type', 'content', 'created_at', 'updated_at'];
|
||||
protected array $fillable = ['evaluation_id', 'doctor_id', 'patient_id', 'order_inquiry_id', 'name_mask', 'reply_quality', 'service_attitude', 'reply_progress', 'avg_score', 'type', 'content', 'created_at', 'updated_at'];
|
||||
|
||||
/**
|
||||
* The attributes that should be cast to native types.
|
||||
|
||||
Reference in New Issue
Block a user