belongsTo(Logistic::class); } public function province(): BelongsTo { return $this->belongsTo(Province::class); } public function getInitialWeightFeeAttribute(): string { return number_format($this->initial_weight * $this->initial_weight_price * $this->initial_amount, 2); } public function getAdditionalWeightFeeAttribute(): string { return number_format($this->additional_weight * $this->additional_price * $this->additional_amount, 2); } }