$entries * @property-read int|null $entries_count * @property-read \Illuminate\Database\Eloquent\Collection $games * @property-read int|null $games_count * @method static \Illuminate\Database\Eloquent\Builder|Platform newModelQuery() * @method static \Illuminate\Database\Eloquent\Builder|Platform newQuery() * @method static \Illuminate\Database\Eloquent\Builder|Platform query() * @method static \Illuminate\Database\Eloquent\Builder|Platform whereCreatedAt($value) * @method static \Illuminate\Database\Eloquent\Builder|Platform whereId($value) * @method static \Illuminate\Database\Eloquent\Builder|Platform whereName($value) * @method static \Illuminate\Database\Eloquent\Builder|Platform whereShortName($value) * @method static \Illuminate\Database\Eloquent\Builder|Platform whereSlug($value) * @method static \Illuminate\Database\Eloquent\Builder|Platform whereUpdatedAt($value) * @property string|null $play_online_core * @method static \Illuminate\Database\Eloquent\Builder|Platform wherePlayOnlineCore($value) * @mixin \Eloquent */ class Platform extends Model { /** * @var string[] */ protected $fillable = [ 'name', 'slug', 'short_name' ]; public function games(): HasMany { return $this->hasMany(Game::class); } public function entries(): HasMany { return $this->hasMany(Entry::class); } }