<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;

class UserMistake extends Model
{
    use HasFactory;

    protected $fillable = [
        'user_name',
        'team',
        'issue_type',
        'customer_name',
        'project_name',
        'issue_date',
        'status',
        'notes',
        'amount',
        'record_external_id',
    ];

    protected $casts = [
        'issue_date' => 'datetime',
        'amount' => 'decimal:2',
    ];
}

