<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Model;

class Conversation extends Model
{
    protected $fillable = ['user1', 'user2'];


    public function messages(){
    	return $this->hasMany('App\Models\Message','conversation_id');
    }
}
