<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Model;

class Contact extends Model
{
    protected $fillable = [
        'nama', 
        'email', 
        'pesan', 
        'is_read',
        'phone',
        'company',
        'subject',
        'tracking_code',
        'admin_reply',
        'admin_replied_at',
        'reply_method',
        'user_notified'
    ];
    
    protected $casts = [
        'is_read' => 'boolean',
        'user_notified' => 'boolean',
        'admin_replied_at' => 'datetime',
    ];
}
