a guest Apr 10th, 2020 136 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
- namespace App\Models;
- use Illuminate\Database\Eloquent\Model;
- class Post extends Model
- * The table associated with the model.
- * @var string
- protected $table = 'posts';
- public function image()
- return $this->belongsTo('App\Models\Storage\Imageup');
RAW Paste Data