forked from vatsimnetwork/nattrak
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request vatsimnetwork#158 from vatsimnetwork/move-datalink…
…-authorities-to-db Relevant code changes for DB Dl authorities
- Loading branch information
Showing
11 changed files
with
181 additions
and
34 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
<?php | ||
|
||
namespace App\Models; | ||
|
||
use Illuminate\Database\Eloquent\Model; | ||
|
||
/** | ||
* App\Models\DatalinkAuthority | ||
* | ||
* @property string $id | ||
* @property string $name | ||
* @property string $prefix | ||
* @property bool $auto_acknowledge_participant | ||
* @property bool $valid_rcl_target | ||
* @property bool $system | ||
* @property \Illuminate\Support\Carbon|null $created_at | ||
* @property \Illuminate\Support\Carbon|null $updated_at | ||
* @method static \Illuminate\Database\Eloquent\Builder|DatalinkAuthority newModelQuery() | ||
* @method static \Illuminate\Database\Eloquent\Builder|DatalinkAuthority newQuery() | ||
* @method static \Illuminate\Database\Eloquent\Builder|DatalinkAuthority query() | ||
* @method static \Illuminate\Database\Eloquent\Builder|DatalinkAuthority whereAutoAcknowledgeParticipant($value) | ||
* @method static \Illuminate\Database\Eloquent\Builder|DatalinkAuthority whereCreatedAt($value) | ||
* @method static \Illuminate\Database\Eloquent\Builder|DatalinkAuthority whereId($value) | ||
* @method static \Illuminate\Database\Eloquent\Builder|DatalinkAuthority whereName($value) | ||
* @method static \Illuminate\Database\Eloquent\Builder|DatalinkAuthority wherePrefix($value) | ||
* @method static \Illuminate\Database\Eloquent\Builder|DatalinkAuthority whereSystem($value) | ||
* @method static \Illuminate\Database\Eloquent\Builder|DatalinkAuthority whereUpdatedAt($value) | ||
* @method static \Illuminate\Database\Eloquent\Builder|DatalinkAuthority whereValidRclTarget($value) | ||
* @mixin \Eloquent | ||
*/ | ||
class DatalinkAuthority extends Model | ||
{ | ||
protected $fillable = [ | ||
'id', | ||
'name', | ||
'prefix', | ||
'auto_acknowledge_participant', | ||
'valid_rcl_target', | ||
'system', | ||
]; | ||
|
||
protected $casts = [ | ||
'auto_acknowledge_participant' => 'boolean', | ||
'valid_rcl_target' => 'boolean', | ||
'system' => 'boolean', | ||
]; | ||
|
||
protected $keyType = 'string'; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.