phpvms/app/Contracts/Model.php

24 lines
409 B
PHP
Raw Normal View History

<?php
namespace App\Contracts;
/**
* Class Model
2018-08-27 00:40:04 +08:00
*
* @property mixed $id
* @property bool $skip_mutator
*
* @method static where(array $array)
*/
abstract class Model extends \Illuminate\Database\Eloquent\Model
{
public const ID_MAX_LENGTH = 12;
/**
* For the factories, skip the mutators. Only apply to one instance
2018-08-27 00:40:04 +08:00
*
* @var bool
*/
public $skip_mutator = false;
}