<?php
namespace App\Models;

/**
 * VirtualStage Model
 */
class VirtualStage
{
    public $id;
    public $contact_didar_id;
    public $stage_name;
    public $entered_at;
    public $last_activity_id;
    public $notes;

    public function __construct(array $data = [])
    {
        foreach ($data as $key => $value) {
            if (property_exists($this, $key)) {
                $this->$key = $value;
            }
        }
    }

    public function toArray()
    {
        return get_object_vars($this);
    }
}

