<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Model;

class SupportTicket extends Model
{
    protected $fillable = [
        'scope',
        'scope_id',
        'merchant_id',
        'buyer_id',
        'order_id',
        'platform_order_id',
        'site_subscription_id',
        'platform_lead_id',
        'ticket_no',
        'category',
        'priority',
        'status',
        'subject',
        'content',
        'assigned_admin_id',
        'closed_at',
    ];

    protected $casts = [
        'closed_at' => 'datetime',
    ];
}
