First Commit

This commit is contained in:
Kevin Adametz 2018-10-29 09:15:36 +01:00
commit 0c9a118281
633 changed files with 76612 additions and 0 deletions

View file

@ -0,0 +1,39 @@
<?php
namespace App\Models\Sym;
use Illuminate\Database\Eloquent\Model;
/**
* App\Models\Sym\Arrangement
*
* @property int $id
* @property int|null $template_id
* @property string|null $state
* @property string|null $begin
* @property string|null $end
* @property string|null $type_s
* @property string|null $data_s
* @property int|null $view_position
* @property int|null $booking_id
* @property int $type_id
* @property int|null $in_pdf
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Sym\Arrangement whereBegin($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Sym\Arrangement whereBookingId($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Sym\Arrangement whereDataS($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Sym\Arrangement whereEnd($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Sym\Arrangement whereId($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Sym\Arrangement whereInPdf($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Sym\Arrangement whereState($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Sym\Arrangement whereTemplateId($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Sym\Arrangement whereTypeId($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Sym\Arrangement whereTypeS($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Sym\Arrangement whereViewPosition($value)
* @mixin \Eloquent
*/
class Arrangement extends Model
{
protected $table = 'arrangement';
}

View file

@ -0,0 +1,27 @@
<?php
namespace App\Models\Sym;
use Illuminate\Database\Eloquent\Model;
/**
* App\Models\Sym\ArrangementTemplate
*
* @property int $id
* @property string|null $title
* @property-read \Illuminate\Database\Eloquent\Collection|\App\Models\Sym\Arrangement[] $arrangements
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Sym\ArrangementTemplate whereId($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Sym\ArrangementTemplate whereTitle($value)
* @mixin \Eloquent
*/
class ArrangementTemplate extends Model
{
protected $table = 'arrangement_template';
public function arrangements()
{
return $this->hasMany('App\Models\Sym\Arrangement', 'template_id', 'id')->orderBy('view_position', 'DESC');
}
}