<?php

namespace App\Modules\Push;

use App\Models\ValidationModel;

class PushDevice extends ValidationModel
{
    /**
     * The table associated with the model.
     *
     * @var string
     */
    protected $table = 'push_devices';

    /**
     * Array of validation rules.
     *
     * @var  array
     */
    protected static $rules = [
        'device_id' => ['required'],
    ];

    /**
     *	The attributes that won't be assigned during
     *	a mass assignment.
     */
    protected $fillable = ['device_id', 'type', 'user_id', 'display_id'];
}
