Add support for immutable carbon dates in models

This commit is contained in:
Dane Everitt
2020-04-03 23:22:35 -07:00
parent 6d1226a0c1
commit f51d65229b
20 changed files with 79 additions and 26 deletions

View File

@@ -32,9 +32,10 @@ use Pterodactyl\Models\Traits\Searchable;
* @property \Pterodactyl\Models\Server[]|\Illuminate\Database\Eloquent\Collection $servers
* @property \Pterodactyl\Models\Allocation[]|\Illuminate\Database\Eloquent\Collection $allocations
*/
class Node extends Validable
class Node extends Model
{
use Notifiable, Searchable;
use Notifiable;
use Searchable;
/**
* The resource name for this model when it is transformed into an