<?php

/** @var Factory $factory */

use App\InventoryAccount;
use App\Owner;
use App\UserOwnerGroup;
use Faker\Generator as Faker;
use Illuminate\Database\Eloquent\Factory;
use Illuminate\Support\Str;

$factory->define(InventoryAccount::class, function (Faker $faker) {
    return [
        'owner_id'=> factory(owner::class),
        'type'=>'全盘',
        'processed'=>mt_rand(0,100),
        'difference'=>mt_rand(0,100),
        'returned'=>mt_rand(0,100),
        'total'=>mt_rand(0,10),
    ];
});
