From 264ed50e9204fd8efc56521d535940f5d19d12a3 Mon Sep 17 00:00:00 2001 From: Ghassan Yusuf Date: Thu, 29 Jan 2026 17:12:02 +0300 Subject: [PATCH] update --- app/Models/Venue.php | 10 + .../2026_01_28_112047_create_guests_table.php | 48 ++ ...01_28_112050_create_guest_visits_table.php | Bin 1812 -> 963 bytes ...28_112057_create_issued_vouchers_table.php | 37 + resources/views/auth/login.blade.php | 15 +- resources/views/layouts/app.blade.php | 96 +++ vendor/_laravel_ide/_model_helpers.php | 690 ++++++++++++++++++ 7 files changed, 892 insertions(+), 4 deletions(-) create mode 100644 resources/views/layouts/app.blade.php diff --git a/app/Models/Venue.php b/app/Models/Venue.php index e69de29..d246a19 100644 --- a/app/Models/Venue.php +++ b/app/Models/Venue.php @@ -0,0 +1,10 @@ +id(); + $table->string('loyalty_id')->unique(); + $table->string('first_name'); + $table->string('last_name'); + $table->string('email')->nullable(); + $table->string('phone')->nullable(); + $table->date('date_of_birth')->nullable(); + $table->enum('gender', ['male', 'female', 'other'])->nullable(); + $table->string('nationality')->nullable(); + $table->text('address')->nullable(); + $table->string('passport_number')->nullable(); + $table->date('passport_expiry')->nullable(); + $table->string('preferred_language')->default('en'); + $table->json('preferences')->nullable(); + $table->foreignId('loyalty_tier_id')->nullable()->constrained()->onDelete('set null'); + $table->integer('total_points')->default(0); + $table->decimal('total_spend', 12, 2)->default(0); + $table->integer('visit_count')->default(0); + $table->datetime('last_visit_at')->nullable(); + $table->datetime('first_visit_at')->nullable(); + $table->enum('status', ['active', 'inactive', 'blacklisted'])->default('active'); + $table->text('notes')->nullable(); + $table->timestamps(); + }); + } + + /** + * Reverse the migrations. + */ + public function down(): void + { + Schema::dropIfExists('guests'); + } +}; diff --git a/database/migrations/2026_01_28_112050_create_guest_visits_table.php b/database/migrations/2026_01_28_112050_create_guest_visits_table.php index 6cd8d7a8c83211a8681bde7b00854141b5a3b880..92054e773c564ca3f9746267a0bac9006656782b 100644 GIT binary patch literal 963 zcmbtTO-lnY5WVlO$U)d`v3?y}sURx!;6<+sOPWmEKr#uLNmZo(-Ry2Z1SwX`CA*o- zoA=&KZtub>6h$HsGi#GGC>iPp$#O0U>Swczl8r|?d`^zuepM@Qvc9(oLNv%fZoZ}v zeB}B`Dyf0$K4DT65jaH@2ya4JNhIK%0X2y|f#S0ed0h^N-7bdWC86LI2)E~Wu?<~z zdq{I@lvpHGtpbrkH5iMvH@XY=cr9knVmww6viPc8CLnIsh741AegLTU!o*qj$HG7y zKw6;wbTl=(8ccdF?Qvea$ihc3OPuLl6{E|+XsWWo9Hl|XnWL%42e8mmQIcAx%HQGE zfC-xa!RaiYjmvdA@lE@Gth5GYoU~O*Avda#&L`yT*7eo7xXBtYS=)Ma%!#bm;Br@q zKSHi_dRFw_HJIES;wfpI$EhmOGtf!bvj@b|1^Ui@vu(nr=vw=I5@8K7zo5TNqxNt3 Y%RK7n!))>RZis0&FWafyQ`t<4FDY*!YybcN literal 1812 zcmchY%}(1;5QS$QiFdd=0xG3tNh>NLS}BWe$`&bdY!fUI+ln1%Rpr&&erFuZ#sn3m zP+d9q|IC>)b0@!leY8(j+6~``wzA4n3pTM^+R7G|S#FWltX|oLk0P7V>)e%nWq)o< zU(c-IY_)au!w%S&7Q-urLj>lz^GV^kbWXMX9rF?oN?O648jLR>#e4~<;@P(#v=Qf0 zPOj*4RLGg#)5qAB#}(t$zPlPZD4IW3U}Qf*3Y&IphqP`Um<9WW4Oyt&!{9m(b$mOx zb=;em+@HZJgIlm`M~gvgVi1^@HnsyhW%myMGuU<<`utj+eJxJ87rPcsa^C|{>aXptGFv7?fS6SxoeMW%K153PVjKZQ(o_b zq|@;xJ8S%kxTDzWMzgETyinHux3X&@!sBff3ne78mOwMen{u%#JGZa z^WNufvCqA>A8x@P2TOoxs9c?k?JLQ zPieUxWbK+a)xD~xYE#M!m*35Q!E4p11U2r_MBI0;Qwcl^G?-8iKBKfMlj_p27Ic}@ PsNa9fQf2M0dyml{L#hqP diff --git a/database/migrations/2026_01_28_112057_create_issued_vouchers_table.php b/database/migrations/2026_01_28_112057_create_issued_vouchers_table.php index e69de29..9f2542c 100644 --- a/database/migrations/2026_01_28_112057_create_issued_vouchers_table.php +++ b/database/migrations/2026_01_28_112057_create_issued_vouchers_table.php @@ -0,0 +1,37 @@ +id(); + $table->foreignId('voucher_id')->constrained()->onDelete('cascade'); + $table->foreignId('guest_id')->constrained()->onDelete('cascade'); + $table->foreignId('issued_by')->constrained('users')->onDelete('cascade'); + $table->string('voucher_code')->unique(); + $table->decimal('value', 8, 2); + $table->datetime('issued_at'); + $table->datetime('expires_at')->nullable(); + $table->datetime('used_at')->nullable(); + $table->enum('status', ['active', 'used', 'expired', 'cancelled'])->default('active'); + $table->text('notes')->nullable(); + $table->timestamps(); + }); + } + + /** + * Reverse the migrations. + */ + public function down(): void + { + Schema::dropIfExists('issued_vouchers'); + } +}; diff --git a/resources/views/auth/login.blade.php b/resources/views/auth/login.blade.php index c040f7b..b6e611a 100644 --- a/resources/views/auth/login.blade.php +++ b/resources/views/auth/login.blade.php @@ -251,10 +251,17 @@ + + + + +
+ + @include('partials.sidebar') + + +
+ + + + +
+ @yield('content') +
+
+
+ + + + + @yield('scripts') + + + + diff --git a/vendor/_laravel_ide/_model_helpers.php b/vendor/_laravel_ide/_model_helpers.php index 5a1967d..f1e7d57 100644 --- a/vendor/_laravel_ide/_model_helpers.php +++ b/vendor/_laravel_ide/_model_helpers.php @@ -319,6 +319,54 @@ namespace App\Models { /** * App\Models\Guest * + * @property \Illuminate\Support\Carbon|null $updated_at + * @property \Illuminate\Support\Carbon|null $created_at + * @property string|null $notes + * @property string $status + * @property string|null $first_visit_at + * @property string|null $last_visit_at + * @property int $visit_count + * @property float $total_spend + * @property int $total_points + * @property int|null $loyalty_tier_id + * @property string|null $preferences + * @property string $preferred_language + * @property string|null $passport_expiry + * @property string|null $passport_number + * @property string|null $address + * @property string|null $nationality + * @property string|null $gender + * @property string|null $date_of_birth + * @property string|null $phone + * @property string|null $email + * @property string $last_name + * @property string $first_name + * @property string $loyalty_id + * @property int $id + * @method static \Illuminate\Database\Eloquent\Builder|Guest whereId($value) + * @method static \Illuminate\Database\Eloquent\Builder|Guest whereLoyaltyId($value) + * @method static \Illuminate\Database\Eloquent\Builder|Guest whereFirstName($value) + * @method static \Illuminate\Database\Eloquent\Builder|Guest whereLastName($value) + * @method static \Illuminate\Database\Eloquent\Builder|Guest whereEmail($value) + * @method static \Illuminate\Database\Eloquent\Builder|Guest wherePhone($value) + * @method static \Illuminate\Database\Eloquent\Builder|Guest whereDateOfBirth($value) + * @method static \Illuminate\Database\Eloquent\Builder|Guest whereGender($value) + * @method static \Illuminate\Database\Eloquent\Builder|Guest whereNationality($value) + * @method static \Illuminate\Database\Eloquent\Builder|Guest whereAddress($value) + * @method static \Illuminate\Database\Eloquent\Builder|Guest wherePassportNumber($value) + * @method static \Illuminate\Database\Eloquent\Builder|Guest wherePassportExpiry($value) + * @method static \Illuminate\Database\Eloquent\Builder|Guest wherePreferredLanguage($value) + * @method static \Illuminate\Database\Eloquent\Builder|Guest wherePreferences($value) + * @method static \Illuminate\Database\Eloquent\Builder|Guest whereLoyaltyTierId($value) + * @method static \Illuminate\Database\Eloquent\Builder|Guest whereTotalPoints($value) + * @method static \Illuminate\Database\Eloquent\Builder|Guest whereTotalSpend($value) + * @method static \Illuminate\Database\Eloquent\Builder|Guest whereVisitCount($value) + * @method static \Illuminate\Database\Eloquent\Builder|Guest whereLastVisitAt($value) + * @method static \Illuminate\Database\Eloquent\Builder|Guest whereFirstVisitAt($value) + * @method static \Illuminate\Database\Eloquent\Builder|Guest whereStatus($value) + * @method static \Illuminate\Database\Eloquent\Builder|Guest whereNotes($value) + * @method static \Illuminate\Database\Eloquent\Builder|Guest whereCreatedAt($value) + * @method static \Illuminate\Database\Eloquent\Builder|Guest whereUpdatedAt($value) * @method static \Illuminate\Database\Eloquent\Builder|Guest newModelQuery() * @method static \Illuminate\Database\Eloquent\Builder|Guest newQuery() * @method static \Illuminate\Database\Eloquent\Builder|Guest query() @@ -944,6 +992,321 @@ namespace App\Models { // } + /** + * App\Models\GuestVisit + * + * @property-read \App\Models\Guest $guest + * @property-read \App\Models\Venue $venue + * @method static \Illuminate\Database\Eloquent\Builder|GuestVisit newModelQuery() + * @method static \Illuminate\Database\Eloquent\Builder|GuestVisit newQuery() + * @method static \Illuminate\Database\Eloquent\Builder|GuestVisit query() + * @method static mixed select($columns) + * @method static mixed selectSub($query, $as) + * @method static mixed selectExpression($expression, $as) + * @method static mixed selectRaw($expression, array $bindings) + * @method static mixed fromSub($query, $as) + * @method static mixed fromRaw($expression, $bindings) + * @method static mixed createSub($query) + * @method static mixed parseSub($query) + * @method static mixed prependDatabaseNameIfCrossDatabaseQuery($query) + * @method static mixed addSelect($column) + * @method static mixed selectVectorDistance($column, $vector, $as) + * @method static mixed distinct() + * @method static mixed from($table, $as) + * @method static mixed useIndex($index) + * @method static mixed forceIndex($index) + * @method static mixed ignoreIndex($index) + * @method static mixed join($table, $first, $operator, $second, $type, $where) + * @method static mixed joinWhere($table, $first, $operator, $second, $type) + * @method static mixed joinSub($query, $as, $first, $operator, $second, $type, $where) + * @method static mixed joinLateral($query, string $as, string $type) + * @method static mixed leftJoinLateral($query, string $as) + * @method static mixed leftJoin($table, $first, $operator, $second) + * @method static mixed leftJoinWhere($table, $first, $operator, $second) + * @method static mixed leftJoinSub($query, $as, $first, $operator, $second) + * @method static mixed rightJoin($table, $first, $operator, $second) + * @method static mixed rightJoinWhere($table, $first, $operator, $second) + * @method static mixed rightJoinSub($query, $as, $first, $operator, $second) + * @method static mixed crossJoin($table, $first, $operator, $second) + * @method static mixed crossJoinSub($query, $as) + * @method static mixed newJoinClause(self $parentQuery, $type, $table) + * @method static mixed newJoinLateralClause(self $parentQuery, $type, $table) + * @method static mixed mergeWheres($wheres, $bindings) + * @method static mixed where($column, $operator, $value, $boolean) + * @method static mixed addArrayOfWheres($column, $boolean, $method) + * @method static mixed prepareValueAndOperator($value, $operator, $useDefault) + * @method static mixed invalidOperatorAndValue($operator, $value) + * @method static mixed invalidOperator($operator) + * @method static mixed isBitwiseOperator($operator) + * @method static mixed orWhere($column, $operator, $value) + * @method static mixed whereNot($column, $operator, $value, $boolean) + * @method static mixed orWhereNot($column, $operator, $value) + * @method static mixed whereColumn($first, $operator, $second, $boolean) + * @method static mixed orWhereColumn($first, $operator, $second) + * @method static mixed whereVectorSimilarTo($column, $vector, $minSimilarity, $order) + * @method static mixed whereVectorDistanceLessThan($column, $vector, $maxDistance, $boolean) + * @method static mixed orWhereVectorDistanceLessThan($column, $vector, $maxDistance) + * @method static mixed whereRaw($sql, $bindings, $boolean) + * @method static mixed orWhereRaw($sql, $bindings) + * @method static mixed whereLike($column, $value, $caseSensitive, $boolean, $not) + * @method static mixed orWhereLike($column, $value, $caseSensitive) + * @method static mixed whereNotLike($column, $value, $caseSensitive, $boolean) + * @method static mixed orWhereNotLike($column, $value, $caseSensitive) + * @method static mixed whereIn($column, $values, $boolean, $not) + * @method static mixed orWhereIn($column, $values) + * @method static mixed whereNotIn($column, $values, $boolean) + * @method static mixed orWhereNotIn($column, $values) + * @method static mixed whereIntegerInRaw($column, $values, $boolean, $not) + * @method static mixed orWhereIntegerInRaw($column, $values) + * @method static mixed whereIntegerNotInRaw($column, $values, $boolean) + * @method static mixed orWhereIntegerNotInRaw($column, $values) + * @method static mixed whereNull($columns, $boolean, $not) + * @method static mixed orWhereNull($column) + * @method static mixed whereNotNull($columns, $boolean) + * @method static mixed whereBetween($column, iterable $values, $boolean, $not) + * @method static mixed whereBetweenColumns($column, array $values, $boolean, $not) + * @method static mixed orWhereBetween($column, iterable $values) + * @method static mixed orWhereBetweenColumns($column, array $values) + * @method static mixed whereNotBetween($column, iterable $values, $boolean) + * @method static mixed whereNotBetweenColumns($column, array $values, $boolean) + * @method static mixed orWhereNotBetween($column, iterable $values) + * @method static mixed orWhereNotBetweenColumns($column, array $values) + * @method static mixed whereValueBetween($value, array $columns, $boolean, $not) + * @method static mixed orWhereValueBetween($value, array $columns) + * @method static mixed whereValueNotBetween($value, array $columns, $boolean) + * @method static mixed orWhereValueNotBetween($value, array $columns) + * @method static mixed orWhereNotNull($column) + * @method static mixed whereDate($column, $operator, $value, $boolean) + * @method static mixed orWhereDate($column, $operator, $value) + * @method static mixed whereTime($column, $operator, $value, $boolean) + * @method static mixed orWhereTime($column, $operator, $value) + * @method static mixed whereDay($column, $operator, $value, $boolean) + * @method static mixed orWhereDay($column, $operator, $value) + * @method static mixed whereMonth($column, $operator, $value, $boolean) + * @method static mixed orWhereMonth($column, $operator, $value) + * @method static mixed whereYear($column, $operator, $value, $boolean) + * @method static mixed orWhereYear($column, $operator, $value) + * @method static mixed addDateBasedWhere($type, $column, $operator, $value, $boolean) + * @method static mixed whereNested(Closure $callback, $boolean) + * @method static mixed forNestedWhere() + * @method static mixed addNestedWhereQuery($query, $boolean) + * @method static mixed whereSub($column, $operator, $callback, $boolean) + * @method static mixed whereExists($callback, $boolean, $not) + * @method static mixed orWhereExists($callback, $not) + * @method static mixed whereNotExists($callback, $boolean) + * @method static mixed orWhereNotExists($callback) + * @method static mixed addWhereExistsQuery(self $query, $boolean, $not) + * @method static mixed whereRowValues($columns, $operator, $values, $boolean) + * @method static mixed orWhereRowValues($columns, $operator, $values) + * @method static mixed whereJsonContains($column, $value, $boolean, $not) + * @method static mixed orWhereJsonContains($column, $value) + * @method static mixed whereJsonDoesntContain($column, $value, $boolean) + * @method static mixed orWhereJsonDoesntContain($column, $value) + * @method static mixed whereJsonOverlaps($column, $value, $boolean, $not) + * @method static mixed orWhereJsonOverlaps($column, $value) + * @method static mixed whereJsonDoesntOverlap($column, $value, $boolean) + * @method static mixed orWhereJsonDoesntOverlap($column, $value) + * @method static mixed whereJsonContainsKey($column, $boolean, $not) + * @method static mixed orWhereJsonContainsKey($column) + * @method static mixed whereJsonDoesntContainKey($column, $boolean) + * @method static mixed orWhereJsonDoesntContainKey($column) + * @method static mixed whereJsonLength($column, $operator, $value, $boolean) + * @method static mixed orWhereJsonLength($column, $operator, $value) + * @method static mixed dynamicWhere($method, $parameters) + * @method static mixed addDynamic($segment, $connector, $parameters, $index) + * @method static mixed whereFullText($columns, $value, array $options, $boolean) + * @method static mixed orWhereFullText($columns, $value, array $options) + * @method static mixed whereAll($columns, $operator, $value, $boolean) + * @method static mixed orWhereAll($columns, $operator, $value) + * @method static mixed whereAny($columns, $operator, $value, $boolean) + * @method static mixed orWhereAny($columns, $operator, $value) + * @method static mixed whereNone($columns, $operator, $value, $boolean) + * @method static mixed orWhereNone($columns, $operator, $value) + * @method static mixed groupBy($groups) + * @method static mixed groupByRaw($sql, array $bindings) + * @method static mixed having($column, $operator, $value, $boolean) + * @method static mixed orHaving($column, $operator, $value) + * @method static mixed havingNested(Closure $callback, $boolean) + * @method static mixed addNestedHavingQuery($query, $boolean) + * @method static mixed havingNull($columns, $boolean, $not) + * @method static mixed orHavingNull($column) + * @method static mixed havingNotNull($columns, $boolean) + * @method static mixed orHavingNotNull($column) + * @method static mixed havingBetween($column, iterable $values, $boolean, $not) + * @method static mixed havingNotBetween($column, iterable $values, $boolean) + * @method static mixed orHavingBetween($column, iterable $values) + * @method static mixed orHavingNotBetween($column, iterable $values) + * @method static mixed havingRaw($sql, array $bindings, $boolean) + * @method static mixed orHavingRaw($sql, array $bindings) + * @method static mixed orderBy($column, $direction) + * @method static mixed orderByDesc($column) + * @method static mixed latest($column) + * @method static mixed oldest($column) + * @method static mixed orderByVectorDistance($column, $vector) + * @method static mixed inRandomOrder($seed) + * @method static mixed orderByRaw($sql, $bindings) + * @method static mixed skip($value) + * @method static mixed offset($value) + * @method static mixed take($value) + * @method static mixed limit($value) + * @method static mixed groupLimit($value, $column) + * @method static mixed forPage($page, $perPage) + * @method static mixed forPageBeforeId($perPage, $lastId, $column) + * @method static mixed forPageAfterId($perPage, $lastId, $column) + * @method static mixed reorder($column, $direction) + * @method static mixed reorderDesc($column) + * @method static mixed removeExistingOrdersFor($column) + * @method static mixed union($query, $all) + * @method static mixed unionAll($query) + * @method static mixed lock($value) + * @method static mixed lockForUpdate() + * @method static mixed sharedLock() + * @method static mixed beforeQuery(callable $callback) + * @method static mixed applyBeforeQueryCallbacks() + * @method static mixed afterQuery(Closure $callback) + * @method static mixed applyAfterQueryCallbacks($result) + * @method static mixed toSql() + * @method static mixed toRawSql() + * @method static mixed find($id, $columns) + * @method static mixed findOr($id, $columns, Closure $callback) + * @method static mixed value($column) + * @method static mixed rawValue(string $expression, array $bindings) + * @method static mixed soleValue($column) + * @method static mixed get($columns) + * @method static mixed runSelect() + * @method static mixed withoutGroupLimitKeys($items) + * @method static mixed paginate($perPage, $columns, $pageName, $page, $total) + * @method static mixed simplePaginate($perPage, $columns, $pageName, $page) + * @method static mixed cursorPaginate($perPage, $columns, $cursorName, $cursor) + * @method static mixed ensureOrderForCursorPagination($shouldReverse) + * @method static mixed getCountForPagination($columns) + * @method static mixed runPaginationCountQuery($columns) + * @method static mixed cloneForPaginationCount() + * @method static mixed withoutSelectAliases(array $columns) + * @method static mixed cursor() + * @method static mixed enforceOrderBy() + * @method static mixed pluck($column, $key) + * @method static mixed stripTableForPluck($column) + * @method static mixed pluckFromObjectColumn($queryResult, $column, $key) + * @method static mixed pluckFromArrayColumn($queryResult, $column, $key) + * @method static mixed implode($column, $glue) + * @method static mixed exists() + * @method static mixed doesntExist() + * @method static mixed existsOr(Closure $callback) + * @method static mixed doesntExistOr(Closure $callback) + * @method static mixed count($columns) + * @method static mixed min($column) + * @method static mixed max($column) + * @method static mixed sum($column) + * @method static mixed avg($column) + * @method static mixed average($column) + * @method static mixed aggregate($function, $columns) + * @method static mixed numericAggregate($function, $columns) + * @method static mixed setAggregate($function, $columns) + * @method static mixed onceWithColumns($columns, $callback) + * @method static mixed insert(array $values) + * @method static mixed insertOrIgnore(array $values) + * @method static mixed insertGetId(array $values, $sequence) + * @method static mixed insertUsing(array $columns, $query) + * @method static mixed insertOrIgnoreUsing(array $columns, $query) + * @method static mixed update(array $values) + * @method static mixed updateFrom(array $values) + * @method static mixed updateOrInsert(array $attributes, callable|array $values) + * @method static mixed upsert(array $values, array|string $uniqueBy, array $update) + * @method static mixed increment($column, $amount, array $extra) + * @method static mixed incrementEach(array $columns, array $extra) + * @method static mixed decrement($column, $amount, array $extra) + * @method static mixed decrementEach(array $columns, array $extra) + * @method static mixed delete($id) + * @method static mixed truncate() + * @method static mixed newQuery() + * @method static mixed forSubQuery() + * @method static mixed getColumns() + * @method static mixed raw($value) + * @method static mixed getUnionBuilders() + * @method static mixed getLimit() + * @method static mixed getOffset() + * @method static mixed getBindings() + * @method static mixed getRawBindings() + * @method static mixed setBindings(array $bindings, $type) + * @method static mixed addBinding($value, $type) + * @method static mixed castBinding($value) + * @method static mixed mergeBindings(self $query) + * @method static mixed cleanBindings(array $bindings) + * @method static mixed flattenValue($value) + * @method static mixed defaultKeyName() + * @method static mixed getConnection() + * @method static mixed ensureConnectionSupportsVectors() + * @method static mixed getProcessor() + * @method static mixed getGrammar() + * @method static mixed useWritePdo() + * @method static mixed isQueryable($value) + * @method static mixed clone() + * @method static mixed cloneWithout(array $properties) + * @method static mixed cloneWithoutBindings(array $except) + * @method static mixed dump($args) + * @method static mixed dumpRawSql() + * @method static mixed dd() + * @method static mixed ddRawSql() + * @method static mixed wherePast($columns) + * @method static mixed whereNowOrPast($columns) + * @method static mixed orWherePast($columns) + * @method static mixed orWhereNowOrPast($columns) + * @method static mixed whereFuture($columns) + * @method static mixed whereNowOrFuture($columns) + * @method static mixed orWhereFuture($columns) + * @method static mixed orWhereNowOrFuture($columns) + * @method static mixed wherePastOrFuture($columns, $operator, $boolean) + * @method static mixed whereToday($columns, $boolean) + * @method static mixed whereBeforeToday($columns) + * @method static mixed whereTodayOrBefore($columns) + * @method static mixed whereAfterToday($columns) + * @method static mixed whereTodayOrAfter($columns) + * @method static mixed orWhereToday($columns) + * @method static mixed orWhereBeforeToday($columns) + * @method static mixed orWhereTodayOrBefore($columns) + * @method static mixed orWhereAfterToday($columns) + * @method static mixed orWhereTodayOrAfter($columns) + * @method static mixed whereTodayBeforeOrAfter($columns, $operator, $boolean) + * @method static mixed chunk($count, callable $callback) + * @method static mixed chunkMap(callable $callback, $count) + * @method static mixed each(callable $callback, $count) + * @method static mixed chunkById($count, callable $callback, $column, $alias) + * @method static mixed chunkByIdDesc($count, callable $callback, $column, $alias) + * @method static mixed orderedChunkById($count, callable $callback, $column, $alias, $descending) + * @method static mixed eachById(callable $callback, $count, $column, $alias) + * @method static mixed lazy($chunkSize) + * @method static mixed lazyById($chunkSize, $column, $alias) + * @method static mixed lazyByIdDesc($chunkSize, $column, $alias) + * @method static mixed orderedLazyById($chunkSize, $column, $alias, $descending) + * @method static mixed first($columns) + * @method static mixed firstOrFail($columns, $message) + * @method static mixed sole($columns) + * @method static mixed paginateUsingCursor($perPage, $columns, $cursorName, $cursor) + * @method static mixed getOriginalColumnNameForCursorPagination($builder, string $parameter) + * @method static mixed paginator($items, $total, $perPage, $currentPage, $options) + * @method static mixed simplePaginator($items, $perPage, $currentPage, $options) + * @method static mixed cursorPaginator($items, $perPage, $cursor, $options) + * @method static mixed tap($callback) + * @method static mixed pipe($callback) + * @method static mixed when($value, callable $callback, callable $default) + * @method static mixed unless($value, callable $callback, callable $default) + * @method static mixed explain() + * @method static mixed forwardCallTo($object, $method, $parameters) + * @method static mixed forwardDecoratedCallTo($object, $method, $parameters) + * @method static mixed throwBadMethodCallException($method) + * @method static mixed macro($name, $macro) + * @method static mixed mixin($mixin, $replace) + * @method static mixed hasMacro($name) + * @method static mixed flushMacros() + * @method static mixed macroCall($method, $parameters) + * @mixin \Illuminate\Database\Query\Builder + */ + class GuestVisit extends \Illuminate\Database\Eloquent\Model + { + // + } + /** * App\Models\User * @@ -1275,4 +1638,331 @@ namespace App\Models { // } + /** + * App\Models\Venue + * + * @property \Illuminate\Support\Carbon|null $updated_at + * @property \Illuminate\Support\Carbon|null $created_at + * @property string $group + * @property string|null $address + * @property string $type + * @property string $name + * @property int $id + * @method static \Illuminate\Database\Eloquent\Builder|Venue whereId($value) + * @method static \Illuminate\Database\Eloquent\Builder|Venue whereName($value) + * @method static \Illuminate\Database\Eloquent\Builder|Venue whereType($value) + * @method static \Illuminate\Database\Eloquent\Builder|Venue whereAddress($value) + * @method static \Illuminate\Database\Eloquent\Builder|Venue whereGroup($value) + * @method static \Illuminate\Database\Eloquent\Builder|Venue whereCreatedAt($value) + * @method static \Illuminate\Database\Eloquent\Builder|Venue whereUpdatedAt($value) + * @method static \Illuminate\Database\Eloquent\Builder|Venue newModelQuery() + * @method static \Illuminate\Database\Eloquent\Builder|Venue newQuery() + * @method static \Illuminate\Database\Eloquent\Builder|Venue query() + * @method static mixed select($columns) + * @method static mixed selectSub($query, $as) + * @method static mixed selectExpression($expression, $as) + * @method static mixed selectRaw($expression, array $bindings) + * @method static mixed fromSub($query, $as) + * @method static mixed fromRaw($expression, $bindings) + * @method static mixed createSub($query) + * @method static mixed parseSub($query) + * @method static mixed prependDatabaseNameIfCrossDatabaseQuery($query) + * @method static mixed addSelect($column) + * @method static mixed selectVectorDistance($column, $vector, $as) + * @method static mixed distinct() + * @method static mixed from($table, $as) + * @method static mixed useIndex($index) + * @method static mixed forceIndex($index) + * @method static mixed ignoreIndex($index) + * @method static mixed join($table, $first, $operator, $second, $type, $where) + * @method static mixed joinWhere($table, $first, $operator, $second, $type) + * @method static mixed joinSub($query, $as, $first, $operator, $second, $type, $where) + * @method static mixed joinLateral($query, string $as, string $type) + * @method static mixed leftJoinLateral($query, string $as) + * @method static mixed leftJoin($table, $first, $operator, $second) + * @method static mixed leftJoinWhere($table, $first, $operator, $second) + * @method static mixed leftJoinSub($query, $as, $first, $operator, $second) + * @method static mixed rightJoin($table, $first, $operator, $second) + * @method static mixed rightJoinWhere($table, $first, $operator, $second) + * @method static mixed rightJoinSub($query, $as, $first, $operator, $second) + * @method static mixed crossJoin($table, $first, $operator, $second) + * @method static mixed crossJoinSub($query, $as) + * @method static mixed newJoinClause(self $parentQuery, $type, $table) + * @method static mixed newJoinLateralClause(self $parentQuery, $type, $table) + * @method static mixed mergeWheres($wheres, $bindings) + * @method static mixed where($column, $operator, $value, $boolean) + * @method static mixed addArrayOfWheres($column, $boolean, $method) + * @method static mixed prepareValueAndOperator($value, $operator, $useDefault) + * @method static mixed invalidOperatorAndValue($operator, $value) + * @method static mixed invalidOperator($operator) + * @method static mixed isBitwiseOperator($operator) + * @method static mixed orWhere($column, $operator, $value) + * @method static mixed whereNot($column, $operator, $value, $boolean) + * @method static mixed orWhereNot($column, $operator, $value) + * @method static mixed whereColumn($first, $operator, $second, $boolean) + * @method static mixed orWhereColumn($first, $operator, $second) + * @method static mixed whereVectorSimilarTo($column, $vector, $minSimilarity, $order) + * @method static mixed whereVectorDistanceLessThan($column, $vector, $maxDistance, $boolean) + * @method static mixed orWhereVectorDistanceLessThan($column, $vector, $maxDistance) + * @method static mixed whereRaw($sql, $bindings, $boolean) + * @method static mixed orWhereRaw($sql, $bindings) + * @method static mixed whereLike($column, $value, $caseSensitive, $boolean, $not) + * @method static mixed orWhereLike($column, $value, $caseSensitive) + * @method static mixed whereNotLike($column, $value, $caseSensitive, $boolean) + * @method static mixed orWhereNotLike($column, $value, $caseSensitive) + * @method static mixed whereIn($column, $values, $boolean, $not) + * @method static mixed orWhereIn($column, $values) + * @method static mixed whereNotIn($column, $values, $boolean) + * @method static mixed orWhereNotIn($column, $values) + * @method static mixed whereIntegerInRaw($column, $values, $boolean, $not) + * @method static mixed orWhereIntegerInRaw($column, $values) + * @method static mixed whereIntegerNotInRaw($column, $values, $boolean) + * @method static mixed orWhereIntegerNotInRaw($column, $values) + * @method static mixed whereNull($columns, $boolean, $not) + * @method static mixed orWhereNull($column) + * @method static mixed whereNotNull($columns, $boolean) + * @method static mixed whereBetween($column, iterable $values, $boolean, $not) + * @method static mixed whereBetweenColumns($column, array $values, $boolean, $not) + * @method static mixed orWhereBetween($column, iterable $values) + * @method static mixed orWhereBetweenColumns($column, array $values) + * @method static mixed whereNotBetween($column, iterable $values, $boolean) + * @method static mixed whereNotBetweenColumns($column, array $values, $boolean) + * @method static mixed orWhereNotBetween($column, iterable $values) + * @method static mixed orWhereNotBetweenColumns($column, array $values) + * @method static mixed whereValueBetween($value, array $columns, $boolean, $not) + * @method static mixed orWhereValueBetween($value, array $columns) + * @method static mixed whereValueNotBetween($value, array $columns, $boolean) + * @method static mixed orWhereValueNotBetween($value, array $columns) + * @method static mixed orWhereNotNull($column) + * @method static mixed whereDate($column, $operator, $value, $boolean) + * @method static mixed orWhereDate($column, $operator, $value) + * @method static mixed whereTime($column, $operator, $value, $boolean) + * @method static mixed orWhereTime($column, $operator, $value) + * @method static mixed whereDay($column, $operator, $value, $boolean) + * @method static mixed orWhereDay($column, $operator, $value) + * @method static mixed whereMonth($column, $operator, $value, $boolean) + * @method static mixed orWhereMonth($column, $operator, $value) + * @method static mixed whereYear($column, $operator, $value, $boolean) + * @method static mixed orWhereYear($column, $operator, $value) + * @method static mixed addDateBasedWhere($type, $column, $operator, $value, $boolean) + * @method static mixed whereNested(Closure $callback, $boolean) + * @method static mixed forNestedWhere() + * @method static mixed addNestedWhereQuery($query, $boolean) + * @method static mixed whereSub($column, $operator, $callback, $boolean) + * @method static mixed whereExists($callback, $boolean, $not) + * @method static mixed orWhereExists($callback, $not) + * @method static mixed whereNotExists($callback, $boolean) + * @method static mixed orWhereNotExists($callback) + * @method static mixed addWhereExistsQuery(self $query, $boolean, $not) + * @method static mixed whereRowValues($columns, $operator, $values, $boolean) + * @method static mixed orWhereRowValues($columns, $operator, $values) + * @method static mixed whereJsonContains($column, $value, $boolean, $not) + * @method static mixed orWhereJsonContains($column, $value) + * @method static mixed whereJsonDoesntContain($column, $value, $boolean) + * @method static mixed orWhereJsonDoesntContain($column, $value) + * @method static mixed whereJsonOverlaps($column, $value, $boolean, $not) + * @method static mixed orWhereJsonOverlaps($column, $value) + * @method static mixed whereJsonDoesntOverlap($column, $value, $boolean) + * @method static mixed orWhereJsonDoesntOverlap($column, $value) + * @method static mixed whereJsonContainsKey($column, $boolean, $not) + * @method static mixed orWhereJsonContainsKey($column) + * @method static mixed whereJsonDoesntContainKey($column, $boolean) + * @method static mixed orWhereJsonDoesntContainKey($column) + * @method static mixed whereJsonLength($column, $operator, $value, $boolean) + * @method static mixed orWhereJsonLength($column, $operator, $value) + * @method static mixed dynamicWhere($method, $parameters) + * @method static mixed addDynamic($segment, $connector, $parameters, $index) + * @method static mixed whereFullText($columns, $value, array $options, $boolean) + * @method static mixed orWhereFullText($columns, $value, array $options) + * @method static mixed whereAll($columns, $operator, $value, $boolean) + * @method static mixed orWhereAll($columns, $operator, $value) + * @method static mixed whereAny($columns, $operator, $value, $boolean) + * @method static mixed orWhereAny($columns, $operator, $value) + * @method static mixed whereNone($columns, $operator, $value, $boolean) + * @method static mixed orWhereNone($columns, $operator, $value) + * @method static mixed groupBy($groups) + * @method static mixed groupByRaw($sql, array $bindings) + * @method static mixed having($column, $operator, $value, $boolean) + * @method static mixed orHaving($column, $operator, $value) + * @method static mixed havingNested(Closure $callback, $boolean) + * @method static mixed addNestedHavingQuery($query, $boolean) + * @method static mixed havingNull($columns, $boolean, $not) + * @method static mixed orHavingNull($column) + * @method static mixed havingNotNull($columns, $boolean) + * @method static mixed orHavingNotNull($column) + * @method static mixed havingBetween($column, iterable $values, $boolean, $not) + * @method static mixed havingNotBetween($column, iterable $values, $boolean) + * @method static mixed orHavingBetween($column, iterable $values) + * @method static mixed orHavingNotBetween($column, iterable $values) + * @method static mixed havingRaw($sql, array $bindings, $boolean) + * @method static mixed orHavingRaw($sql, array $bindings) + * @method static mixed orderBy($column, $direction) + * @method static mixed orderByDesc($column) + * @method static mixed latest($column) + * @method static mixed oldest($column) + * @method static mixed orderByVectorDistance($column, $vector) + * @method static mixed inRandomOrder($seed) + * @method static mixed orderByRaw($sql, $bindings) + * @method static mixed skip($value) + * @method static mixed offset($value) + * @method static mixed take($value) + * @method static mixed limit($value) + * @method static mixed groupLimit($value, $column) + * @method static mixed forPage($page, $perPage) + * @method static mixed forPageBeforeId($perPage, $lastId, $column) + * @method static mixed forPageAfterId($perPage, $lastId, $column) + * @method static mixed reorder($column, $direction) + * @method static mixed reorderDesc($column) + * @method static mixed removeExistingOrdersFor($column) + * @method static mixed union($query, $all) + * @method static mixed unionAll($query) + * @method static mixed lock($value) + * @method static mixed lockForUpdate() + * @method static mixed sharedLock() + * @method static mixed beforeQuery(callable $callback) + * @method static mixed applyBeforeQueryCallbacks() + * @method static mixed afterQuery(Closure $callback) + * @method static mixed applyAfterQueryCallbacks($result) + * @method static mixed toSql() + * @method static mixed toRawSql() + * @method static mixed find($id, $columns) + * @method static mixed findOr($id, $columns, Closure $callback) + * @method static mixed value($column) + * @method static mixed rawValue(string $expression, array $bindings) + * @method static mixed soleValue($column) + * @method static mixed get($columns) + * @method static mixed runSelect() + * @method static mixed withoutGroupLimitKeys($items) + * @method static mixed paginate($perPage, $columns, $pageName, $page, $total) + * @method static mixed simplePaginate($perPage, $columns, $pageName, $page) + * @method static mixed cursorPaginate($perPage, $columns, $cursorName, $cursor) + * @method static mixed ensureOrderForCursorPagination($shouldReverse) + * @method static mixed getCountForPagination($columns) + * @method static mixed runPaginationCountQuery($columns) + * @method static mixed cloneForPaginationCount() + * @method static mixed withoutSelectAliases(array $columns) + * @method static mixed cursor() + * @method static mixed enforceOrderBy() + * @method static mixed pluck($column, $key) + * @method static mixed stripTableForPluck($column) + * @method static mixed pluckFromObjectColumn($queryResult, $column, $key) + * @method static mixed pluckFromArrayColumn($queryResult, $column, $key) + * @method static mixed implode($column, $glue) + * @method static mixed exists() + * @method static mixed doesntExist() + * @method static mixed existsOr(Closure $callback) + * @method static mixed doesntExistOr(Closure $callback) + * @method static mixed count($columns) + * @method static mixed min($column) + * @method static mixed max($column) + * @method static mixed sum($column) + * @method static mixed avg($column) + * @method static mixed average($column) + * @method static mixed aggregate($function, $columns) + * @method static mixed numericAggregate($function, $columns) + * @method static mixed setAggregate($function, $columns) + * @method static mixed onceWithColumns($columns, $callback) + * @method static mixed insert(array $values) + * @method static mixed insertOrIgnore(array $values) + * @method static mixed insertGetId(array $values, $sequence) + * @method static mixed insertUsing(array $columns, $query) + * @method static mixed insertOrIgnoreUsing(array $columns, $query) + * @method static mixed update(array $values) + * @method static mixed updateFrom(array $values) + * @method static mixed updateOrInsert(array $attributes, callable|array $values) + * @method static mixed upsert(array $values, array|string $uniqueBy, array $update) + * @method static mixed increment($column, $amount, array $extra) + * @method static mixed incrementEach(array $columns, array $extra) + * @method static mixed decrement($column, $amount, array $extra) + * @method static mixed decrementEach(array $columns, array $extra) + * @method static mixed delete($id) + * @method static mixed truncate() + * @method static mixed newQuery() + * @method static mixed forSubQuery() + * @method static mixed getColumns() + * @method static mixed raw($value) + * @method static mixed getUnionBuilders() + * @method static mixed getLimit() + * @method static mixed getOffset() + * @method static mixed getBindings() + * @method static mixed getRawBindings() + * @method static mixed setBindings(array $bindings, $type) + * @method static mixed addBinding($value, $type) + * @method static mixed castBinding($value) + * @method static mixed mergeBindings(self $query) + * @method static mixed cleanBindings(array $bindings) + * @method static mixed flattenValue($value) + * @method static mixed defaultKeyName() + * @method static mixed getConnection() + * @method static mixed ensureConnectionSupportsVectors() + * @method static mixed getProcessor() + * @method static mixed getGrammar() + * @method static mixed useWritePdo() + * @method static mixed isQueryable($value) + * @method static mixed clone() + * @method static mixed cloneWithout(array $properties) + * @method static mixed cloneWithoutBindings(array $except) + * @method static mixed dump($args) + * @method static mixed dumpRawSql() + * @method static mixed dd() + * @method static mixed ddRawSql() + * @method static mixed wherePast($columns) + * @method static mixed whereNowOrPast($columns) + * @method static mixed orWherePast($columns) + * @method static mixed orWhereNowOrPast($columns) + * @method static mixed whereFuture($columns) + * @method static mixed whereNowOrFuture($columns) + * @method static mixed orWhereFuture($columns) + * @method static mixed orWhereNowOrFuture($columns) + * @method static mixed wherePastOrFuture($columns, $operator, $boolean) + * @method static mixed whereToday($columns, $boolean) + * @method static mixed whereBeforeToday($columns) + * @method static mixed whereTodayOrBefore($columns) + * @method static mixed whereAfterToday($columns) + * @method static mixed whereTodayOrAfter($columns) + * @method static mixed orWhereToday($columns) + * @method static mixed orWhereBeforeToday($columns) + * @method static mixed orWhereTodayOrBefore($columns) + * @method static mixed orWhereAfterToday($columns) + * @method static mixed orWhereTodayOrAfter($columns) + * @method static mixed whereTodayBeforeOrAfter($columns, $operator, $boolean) + * @method static mixed chunk($count, callable $callback) + * @method static mixed chunkMap(callable $callback, $count) + * @method static mixed each(callable $callback, $count) + * @method static mixed chunkById($count, callable $callback, $column, $alias) + * @method static mixed chunkByIdDesc($count, callable $callback, $column, $alias) + * @method static mixed orderedChunkById($count, callable $callback, $column, $alias, $descending) + * @method static mixed eachById(callable $callback, $count, $column, $alias) + * @method static mixed lazy($chunkSize) + * @method static mixed lazyById($chunkSize, $column, $alias) + * @method static mixed lazyByIdDesc($chunkSize, $column, $alias) + * @method static mixed orderedLazyById($chunkSize, $column, $alias, $descending) + * @method static mixed first($columns) + * @method static mixed firstOrFail($columns, $message) + * @method static mixed sole($columns) + * @method static mixed paginateUsingCursor($perPage, $columns, $cursorName, $cursor) + * @method static mixed getOriginalColumnNameForCursorPagination($builder, string $parameter) + * @method static mixed paginator($items, $total, $perPage, $currentPage, $options) + * @method static mixed simplePaginator($items, $perPage, $currentPage, $options) + * @method static mixed cursorPaginator($items, $perPage, $cursor, $options) + * @method static mixed tap($callback) + * @method static mixed pipe($callback) + * @method static mixed when($value, callable $callback, callable $default) + * @method static mixed unless($value, callable $callback, callable $default) + * @method static mixed explain() + * @method static mixed forwardCallTo($object, $method, $parameters) + * @method static mixed forwardDecoratedCallTo($object, $method, $parameters) + * @method static mixed throwBadMethodCallException($method) + * @method static mixed macro($name, $macro) + * @method static mixed mixin($mixin, $replace) + * @method static mixed hasMacro($name) + * @method static mixed flushMacros() + * @method static mixed macroCall($method, $parameters) + * @mixin \Illuminate\Database\Query\Builder + */ + class Venue extends \Illuminate\Database\Eloquent\Model + { + // + } + } \ No newline at end of file