'date', 'created_at' => 'datetime', 'updated_at' => 'datetime', 'deleted_at' => 'datetime', ]; public function podcast() { return $this->belongsTo(Podcast::class); } public function artwork() { return $this->hasOne(Artwork::class, 'id', 'artwork_id'); } public function artist() { return $this->hasOneThrough(Artist::class, Artwork::class); } }