osb/database/factories/TaxFactory.php

11 lines
171 B
PHP
Raw Normal View History

2020-02-12 10:57:44 +00:00
<?php
use Faker\Generator as Faker;
$factory->define(App\Models\Tax::class, function (Faker $faker) {
return [
'id'=>1,
'rate'=>0.1,
'description'=>'GST',
];
});