Advertisement
Guest User

Untitled

a guest
May 1st, 2016
57
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.30 KB | None | 0 0
  1. <?php namespace App\Models;
  2. use Illuminate\Database\Eloquent\Model;
  3.  
  4. class VideoCaptionModel extends Model{
  5.  
  6. protected $table = "video_caption";
  7. public $timestamps = false;
  8.  
  9. public function Video(){
  10. return $this->belongsTo('App\Models\VideoModel','video_id','id');
  11. }
  12.  
  13. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement