<?php

namespace App\Events;

class FileDetachEvent extends Event
{
    /**
     * 文件类型
     *
     * @var string
     */
    public $type;

    /**
     * 类型ID
     *
     * @var string|int
     */
    public $typeid;

    /**
     * Create a new event instance.
     *
     * @return void
     */
    public function __construct($type, $typeid)
    {
        $this->type = $type;
        $this->typeid = $typeid;
    }
}
