mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-06-14 19:14:39 -04:00
INA-6 | PurchaseOrderInvitationFactory.php
This commit is contained in:
parent
1fe6746fe3
commit
ac59b80f8a
31
database/factories/PurchaseOrderInvitationFactory.php
Normal file
31
database/factories/PurchaseOrderInvitationFactory.php
Normal file
@ -0,0 +1,31 @@
|
|||||||
|
<?php
|
||||||
|
|
||||||
|
|
||||||
|
namespace Database\Factories;
|
||||||
|
|
||||||
|
|
||||||
|
use App\Models\PurchaseOrderInvitation;
|
||||||
|
use Illuminate\Database\Eloquent\Factories\Factory;
|
||||||
|
use Illuminate\Support\Str;
|
||||||
|
|
||||||
|
class PurchaseOrderInvitationFactory extends Factory
|
||||||
|
{
|
||||||
|
/**
|
||||||
|
* The name of the factory's corresponding model.
|
||||||
|
*
|
||||||
|
* @var string
|
||||||
|
*/
|
||||||
|
protected $model = PurchaseOrderInvitation::class;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Define the model's default state.
|
||||||
|
*
|
||||||
|
* @return array
|
||||||
|
*/
|
||||||
|
public function definition()
|
||||||
|
{
|
||||||
|
return [
|
||||||
|
'key' => Str::random(40),
|
||||||
|
];
|
||||||
|
}
|
||||||
|
}
|
Loading…
x
Reference in New Issue
Block a user