'编辑快递资料', 'account_add' => '打款信息新增', 'account_change' => '打款信息变更', ]; protected $table = 'business_courier_profile_events'; protected $fillable = ['company_id', 'expcode', 'action', 'summary', 'changes', 'created_by']; protected $casts = ['changes' => 'array']; public function creator(): BelongsTo { return $this->belongsTo(\App\Models\Auth\User::class, 'created_by'); } public function actionLabel(): string { return self::ACTIONS[$this->action] ?? $this->action; } }