belongsTo(SmartBlock::class, 'block_id'); } public function file() { return $this->belongsTo(File::class, 'file_id'); } }