<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Model;

class Comment extends Model
{
    protected $table = "comment";
    public $timestamps = false;

    public function user()
    {
        return $this->hasOne('App\User','id','post_by');
    }
}
