Files
Caramel-CRM/database/factories/PaymentTermsFactory.php
T

20 lines
484 B
PHP
Raw Normal View History

2025-10-20 08:57:51 +02:00
<?php
namespace Database\Factories;
use Illuminate\Database\Eloquent\Factories\Factory;
class PaymentTermsFactory extends Factory
{
protected $model = \App\Models\PaymentTerms::class;
public function definition()
{
return [
'name' => $this->faker->unique()->word(),
'description' => $this->faker->sentence(),
'is_fixed' => $this->faker->boolean(),
'days' => $this->faker->numberBetween(7, 60),
];
}
}