38 lines
1.2 KiB
PHP
38 lines
1.2 KiB
PHP
<?php
|
|
|
|
namespace App\Models;
|
|
|
|
use Illuminate\Database\Eloquent\Model;
|
|
|
|
/**
|
|
* App\Models\TravelNationality
|
|
*
|
|
* @property int $id
|
|
* @property string|null $name
|
|
* @property int|null $active
|
|
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\TravelNationality whereActive($value)
|
|
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\TravelNationality whereId($value)
|
|
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\TravelNationality whereName($value)
|
|
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\TravelNationality newModelQuery()
|
|
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\TravelNationality newQuery()
|
|
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\TravelNationality query()
|
|
* @property string|null $nat
|
|
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\TravelNationality whereNat($value)
|
|
* @mixin \Eloquent
|
|
*/
|
|
class TravelNationality extends Model
|
|
{
|
|
//use the connection to sec. Datebase sterntours
|
|
protected $connection = 'mysql_stern';
|
|
|
|
protected $table = 'travel_nationality';
|
|
|
|
protected $fillable = [
|
|
'name',
|
|
'nat',
|
|
'active',
|
|
];
|
|
|
|
public $timestamps = false;
|
|
|
|
}
|