|null $restricted_to * @method static \Illuminate\Database\Eloquent\Builder|Category newModelQuery() * @method static \Illuminate\Database\Eloquent\Builder|Category newQuery() * @method static \Illuminate\Database\Eloquent\Builder|Category query() * @method static \Illuminate\Database\Eloquent\Builder|Category whereCreatedAt($value) * @method static \Illuminate\Database\Eloquent\Builder|Category whereId($value) * @method static \Illuminate\Database\Eloquent\Builder|Category whereName($value) * @method static \Illuminate\Database\Eloquent\Builder|Category whereRestrictedTo($value) * @method static \Illuminate\Database\Eloquent\Builder|Category whereSlug($value) * @method static \Illuminate\Database\Eloquent\Builder|Category whereUpdatedAt($value) * @mixin \Eloquent */ class Category extends Model { protected $fillable = ['name', 'slug', 'restricted_to']; protected $casts = [ 'restricted_to' => 'array', ]; }