<?php

namespace App;

use Illuminate\Database\Eloquent\Model;

class query extends Model
{
    protected $table = 'query';

    protected $fillable = [
        'notification_type_id',
        'title',
        'description',
        'notification_date',
        'news_date',
        'news_time',
        'photo_url',
        'status',
        'created_at',
        'updated_at'
    ];
    public function query_reply()
    {
        return $this->hasMany('App\query_reply');
    }
}
