43 lines
1.5 KiB
PHP
43 lines
1.5 KiB
PHP
<?php
|
|
|
|
/**
|
|
* Created by Reliese Model.
|
|
* Date: Thu, 21 Mar 2019 13:40:11 +0100.
|
|
*/
|
|
|
|
namespace App\Models;
|
|
|
|
use Illuminate\Database\Eloquent\Model;
|
|
|
|
/**
|
|
* Class TravelBookingFewoChannel
|
|
*
|
|
* @property int $id
|
|
* @property string $name
|
|
* @property \Carbon\Carbon $created_at
|
|
* @property \Carbon\Carbon $updated_at
|
|
* @property \Illuminate\Database\Eloquent\Collection $travel_user_booking_fewos
|
|
* @package App\Models
|
|
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\TravelBookingFewoChannel newModelQuery()
|
|
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\TravelBookingFewoChannel newQuery()
|
|
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\TravelBookingFewoChannel query()
|
|
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\TravelBookingFewoChannel whereCreatedAt($value)
|
|
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\TravelBookingFewoChannel whereId($value)
|
|
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\TravelBookingFewoChannel whereName($value)
|
|
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\TravelBookingFewoChannel whereUpdatedAt($value)
|
|
* @property-read int|null $travel_user_booking_fewos_count
|
|
* @mixin \Eloquent
|
|
*/
|
|
class TravelBookingFewoChannel extends Model
|
|
{
|
|
protected $connection = 'mysql_stern';
|
|
|
|
protected $fillable = [
|
|
'name'
|
|
];
|
|
|
|
public function travel_user_booking_fewos()
|
|
{
|
|
return $this->hasMany(\App\Models\TravelUserBookingFewo::class);
|
|
}
|
|
}
|