First Commit
This commit is contained in:
commit
0c9a118281
633 changed files with 76612 additions and 0 deletions
39
app/Models/Sym/Arrangement.php
Normal file
39
app/Models/Sym/Arrangement.php
Normal 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';
|
||||
|
||||
}
|
||||
27
app/Models/Sym/ArrangementTemplate.php
Normal file
27
app/Models/Sym/ArrangementTemplate.php
Normal 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');
|
||||
}
|
||||
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue