daily pastebin goal
47%
SHARE
TWEET

Untitled

a guest Nov 9th, 2018 70 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <?php
  2. namespace App;
  3. use Illuminate\Database\Eloquent\Model;
  4. class Order extends Model
  5. {
  6.     protected $table = "orders";
  7.     public function room()
  8.     {
  9.     return $this->hasOne('App\room','id','room_id');
  10.     }
  11. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top