Total Complexity | 2 |
Total Lines | 25 |
Duplicated Lines | 0 % |
Changes | 2 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
14 | class BaseModel extends Model |
||
15 | { |
||
16 | use HasUuid; |
||
17 | |||
18 | public const CREATED_AT = 'createdAt'; |
||
19 | public const UPDATED_AT = 'updatedAt'; |
||
20 | public const DELETED_AT = 'deletedAt'; |
||
21 | |||
22 | public $timestamps = false; |
||
23 | |||
24 | protected $primaryKey = 'uuid'; |
||
25 | protected $keyType = 'uuid'; |
||
26 | public $incrementing = false; |
||
27 | |||
28 | /** |
||
29 | * {@inheritdoc} |
||
30 | */ |
||
31 | public function getTable() |
||
41 |