*/ protected function casts(): array { return [ 'lower_limit' => 'decimal:2', 'upper_limit' => 'decimal:2', 'fixed_fee' => 'decimal:2', 'rate' => 'decimal:2', ]; } /** * Relación con la tabla ISR */ public function isrTable(): BelongsTo { return $this->belongsTo(IsrTable::class); } }