'integer', 'name' => 'string', ]; /** * @param Model $model * @param string $attribute * @return array */ protected static function getRelatedModelAttributeValue(Model $model, string $attribute): array { return ActivityLogHelper::getRelatedModelAttributeValue($model, $attribute); } /** * @return \Illuminate\Database\Eloquent\Relations\BelongsTo */ public function paymentStatus() { return $this->belongsTo(PaymentStatus::class); } /** * @return \Illuminate\Database\Eloquent\Relations\BelongsTo */ public function paymentCategory() { return $this->belongsTo(PaymentCategory::class); } /** * @return \Illuminate\Database\Eloquent\Relations\BelongsTo */ public function paymentCurrency() { return $this->belongsTo(Currency::class); } /** * @return \Illuminate\Database\Eloquent\Relations\BelongsTo */ public function paymentPaymentMethod() { return $this->belongsTo(PaymentPaymentMethod::class); } public function company() { return $this->belongsTo(Company::class); } }