engelsystem/src/Models/BaseModel.php

21 lines
505 B
PHP
Raw Normal View History

2018-08-31 01:55:05 +02:00
<?php
namespace Engelsystem\Models;
2018-09-15 17:24:59 +02:00
use Illuminate\Database\Eloquent\Builder;
2018-08-31 01:55:05 +02:00
use Illuminate\Database\Eloquent\Model;
2019-12-01 01:32:20 +01:00
use Illuminate\Database\Query\Builder as QueryBuilder;
2018-08-31 01:55:05 +02:00
/**
* @mixin Builder
2019-12-01 01:32:20 +01:00
*
* @method static QueryBuilder newModelQuery()
* @method static QueryBuilder newQuery()
* @method static QueryBuilder query()
*/
2018-08-31 01:55:05 +02:00
abstract class BaseModel extends Model
{
/** @var bool Disable timestamps by default because of "Datensparsamkeit" */
public $timestamps = false; // phpcs:ignore
2018-08-31 01:55:05 +02:00
}