<?php

namespace Adldap\Laravel\Events;

use Adldap\Models\User;
use Illuminate\Database\Eloquent\Model;

class Synchronizing
{
    /**
     * The user being synchronized.
     *
     * @var User
     */
    public $user;

    /**
     * The model belonging to the user being synchronized.
     *
     * @var Model
     */
    public $model;

    /**
     * Constructor.
     *
     * @param User  $user
     * @param Model $model
     */
    public function __construct(User $user, Model $model)
    {
        $this->user = $user;
        $this->model = $model;
    }
}
