-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Order payment show page creation and edit
- Loading branch information
1 parent
9fa20c5
commit 5db5d34
Showing
2 changed files
with
109 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
<?php | ||
|
||
namespace Database\Factories; | ||
|
||
use App\Models\OrderAttachment; | ||
use Illuminate\Database\Eloquent\Factories\Factory; | ||
|
||
class OrderAttachmentFactory extends Factory | ||
{ | ||
protected $model = OrderAttachment::class; | ||
|
||
public function definition(): array | ||
{ | ||
return [ | ||
'order_id' => $this->faker->numberBetween(1, 10), | ||
'name' => $this->faker->word, | ||
'path' => $this->faker->word, | ||
'type' => $this->faker->word, | ||
'size' => $this->faker->numberBetween(1, 10), | ||
]; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters