'integer', 'status' => 'integer', 'amount' => 'decimal:2', 'tax_amount' => 'decimal:2', 'issued_at' => 'datetime', ]; } public function customer(): BelongsTo { return $this->belongsTo(Customer::class); } public function operator(): BelongsTo { return $this->belongsTo(User::class, 'operator_id'); } }