23 lines
436 B
PHP
23 lines
436 B
PHP
<?php
|
|
|
|
namespace App\Contracts;
|
|
|
|
/**
|
|
* @property mixed $id
|
|
* @property bool $skip_mutator
|
|
*
|
|
* @mixin \Illuminate\Database\Eloquent\Builder
|
|
*/
|
|
abstract class Model extends \Illuminate\Database\Eloquent\Model
|
|
{
|
|
/**
|
|
* Max length of ID for string columns
|
|
*/
|
|
public const ID_MAX_LENGTH = 12;
|
|
|
|
/**
|
|
* For the factories, skip the mutators. Only apply to one instance
|
|
*/
|
|
public $skip_mutator = false;
|
|
}
|