seeder wip
This commit is contained in:
1 parent
1d16946f20
commit
005924ef8a
34 files changed
+286
-325
No files matched your search
@@ -2,9 +2,28 @@
|
||||
|
||||
namespace App\Models;
|
||||
|
||||
use Database\Factories\AuftraggeberFactory;
|
||||
use Illuminate\Database\Eloquent\Factories\Factory;
|
||||
use Illuminate\Database\Eloquent\Factories\HasFactory;
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
|
||||
class Auftraggeber extends Model
|
||||
{
|
||||
//
|
||||
use HasFactory;
|
||||
|
||||
protected $fillable = [
|
||||
'konto_id',
|
||||
'name',
|
||||
'logo',
|
||||
'address',
|
||||
'country',
|
||||
'kontakt',
|
||||
'email',
|
||||
'phone',
|
||||
];
|
||||
|
||||
protected static function newFactory(): Factory
|
||||
{
|
||||
return AuftraggeberFactory::new();
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user