<?php

/** @var Factory $factory */

use App\DischargeTask;
use Faker\Generator as Faker;
use Illuminate\Database\Eloquent\Factory;

$factory->define(DischargeTask::class, function (Faker $faker) {
    return [
         'owner_id' => $faker->numberBetween(1, 10),
        'type' => $faker->numberBetween(0, 1),
        'numbers' => $faker->name(11),
        'status' => $faker->numberBetween(0, 3),
        'income_amount' => $faker->numberBetween(0, 20),
        'income_unit' => $faker->numberBetween(0, 2),
        'income_unit_price' => $faker->numberBetween(0, 10),
        'income_total_cost' => $faker->numberBetween(0, 100),
        'income_remark' => $faker->title(),
        'facilitator_id' => $faker->numberBetween(1, 2),
        'expenditure_amount' => $faker->numberBetween(0, 20),
        'expenditure_unit' => $faker->numberBetween(0, 2),
        'expenditure_unit_price' => $faker->numberBetween(0, 10),
        'expenditure_total_cost' => $faker->numberBetween(0, 100),
        'expenditure_remark' => $faker->title(),
        'created_at' => $faker->dateTime(),
        'updated_at' => $faker->dateTime(),
        'warehouse_id' => $faker->numberBetween(1,2),
    ];
});
