|Gallery newModelQuery() * @method static \Illuminate\Database\Eloquent\Builder|Gallery newQuery() * @method static \Illuminate\Database\Eloquent\Builder|Gallery query() * @method static \Illuminate\Database\Eloquent\Builder|Gallery whereCreatedAt($value) * @method static \Illuminate\Database\Eloquent\Builder|Gallery whereEntryId($value) * @method static \Illuminate\Database\Eloquent\Builder|Gallery whereId($value) * @method static \Illuminate\Database\Eloquent\Builder|Gallery whereImage($value) * @method static \Illuminate\Database\Eloquent\Builder|Gallery whereUpdatedAt($value) * @mixin \Eloquent */ class Gallery extends Model { protected $table = 'galleries'; protected $fillable = ['image', 'galleryable_id', 'galleryable_type']; public function galleryable(): MorphTo { return $this->morphTo(); } }