|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) * @property string $galleryable_type * @property int $galleryable_id * @property-read Model|\Eloquent $galleryable * @method static \Illuminate\Database\Eloquent\Builder|Gallery whereGalleryableId($value) * @method static \Illuminate\Database\Eloquent\Builder|Gallery whereGalleryableType($value) * @property int $order * @method static \Illuminate\Database\Eloquent\Builder|Gallery whereOrder($value) * @mixin \Eloquent */ class Gallery extends Model { protected $table = 'galleries'; protected $fillable = ['image', 'galleryable_id', 'galleryable_type']; public function galleryable(): MorphTo { return $this->morphTo(); } }