Fewos in CRM,

Fewo Clients Bookings
create / edit / delelte
via API in DB
This commit is contained in:
Kevin Adametz 2019-03-28 14:53:16 +01:00
parent aebfb0586a
commit c0c2a1822c
55 changed files with 9787 additions and 1486 deletions

View file

@ -0,0 +1,36 @@
<?php
/**
* Created by Reliese Model.
* Date: Thu, 21 Mar 2019 13:40:08 +0100.
*/
namespace App\Models;
use Illuminate\Database\Eloquent\Model;
/**
* Class FewoLodgingType
*
* @property int $id
* @property string $name
* @property \Illuminate\Database\Eloquent\Collection $fewo_lodgings
* @package App\Models
* @mixin \Eloquent
*/
class FewoLodgingType extends Model
{
protected $connection = 'mysql_stern';
protected $table = 'fewo_lodging_type';
public $timestamps = false;
protected $fillable = [
'name'
];
public function fewo_lodgings()
{
return $this->hasMany(\App\Models\FewoLodging::class, 'type_id');
}
}