<?php

/** @var \Illuminate\Database\Eloquent\Factory $factory */

use App\OracleDOCOrderHeader;
use Faker\Generator as Faker;

$factory->define(OracleDOCOrderHeader::class, function (Faker $faker) {
    return [
        'orderno' =>  \Illuminate\Support\Str::random(5).'_test',
        'customerid' => 'test',
        'waveno' => 'test'.(string)rand(0,1000),
        'ordertime' =>\Carbon\Carbon::now()->subSeconds(10),
        'consigneeid' => 'test',
        'addtime' =>\Carbon\Carbon::now()->subSeconds(5),
        'edittime' => \Carbon\Carbon::now()->subSeconds(1),
        'edisendflag' => 'Y',
        'sostatus' => '99',
        'issuepartyname'=> 'test_issuepartyname',
        'releasestatus' => 'N',
        'archiveflag' => 'Y',
        'channel' =>'test_CHANNEL',
        'allowship' =>  'N' , //允许发运
        'yw_edisendflag' => 'N',
        'notes' => 'xx',
    ];
});


