2018-08-31 01:55:05 +02:00
|
|
|
<?php
|
|
|
|
|
2023-02-03 20:41:59 +01:00
|
|
|
declare(strict_types=1);
|
|
|
|
|
2018-08-31 01:55:05 +02:00
|
|
|
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
|
|
|
|
2019-11-06 12:15:14 +01:00
|
|
|
/**
|
|
|
|
* @mixin Builder
|
2019-12-01 01:32:20 +01:00
|
|
|
*
|
|
|
|
* @method static QueryBuilder newModelQuery()
|
|
|
|
* @method static QueryBuilder newQuery()
|
|
|
|
* @method static QueryBuilder query()
|
2019-11-06 12:15:14 +01:00
|
|
|
*/
|
2018-08-31 01:55:05 +02:00
|
|
|
abstract class BaseModel extends Model
|
|
|
|
{
|
|
|
|
/** @var bool Disable timestamps by default because of "Datensparsamkeit" */
|
2022-12-15 19:50:56 +01:00
|
|
|
public $timestamps = false; // phpcs:ignore
|
2018-08-31 01:55:05 +02:00
|
|
|
}
|