Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php namespace App\Models;
- use Illuminate\Database\Eloquent\Model;
- class VideoCaptionModel extends Model{
- protected $table = "video_caption";
- public $timestamps = false;
- public function Video(){
- return $this->belongsTo('App\Models\VideoModel','video_id','id');
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement