Shift to class based factories

This commit is contained in:
Laravel Shift
2021-06-10 20:17:44 +00:00
parent c02a95e73f
commit 104b441e0d
105 changed files with 2713 additions and 1618 deletions
+3
View File
@@ -2,12 +2,15 @@
namespace App\Models;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use App\Http\Traits\UniqueUndeletedTrait;
use App\Models\Traits\Searchable;
use Watson\Validating\ValidatingTrait;
class Department extends SnipeModel
{
use HasFactory;
/**
* Whether the model should inject it's identifier to the unique
* validation rules before attempting validation. If this property