Refactor all of the unit conversion code
This commit is contained in:
@@ -5,9 +5,16 @@ namespace App\Interfaces;
|
||||
/**
|
||||
* Class Model
|
||||
* @property mixed $id
|
||||
* @property bool $skip_mutator
|
||||
* @package App\Interfaces
|
||||
*/
|
||||
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
|
||||
* @var bool
|
||||
*/
|
||||
public $skip_mutator = false;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user