<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;

class Complaints extends Model
{
    use HasFactory;
    protected $table = 'complaints';
    protected $fillable = [
        'user_id',
        'type',
        'description',
        'reply'
    ];

    public function user()
    {
        return $this->belongsTo(User::class);
    }
}
