| 12345678910111213141516171819202122232425262728293031 |
- <?php
- namespace App\Http\Controllers\api\thirdPart\syrius\beans;
- class Task
- {
- const ORDER_PICKING = "ORDER_PICKING";
- const TOTAL_PICKING = "TOTAL_PICKING";
- const PUTAWAY = "PUTAWAY";
- public string $id; //任务ID
- //Optional
- public string $batchId; //批次ID
- //ENUM
- public string $type; //任务类型
- //Optional:between(1,10) default:5
- public string $priority; //优先级
- public string $timestamp; //下达时间
- //Optional
- public string $expectedExecutionTime; //预计执行时间
- //Optional
- public string $expectedFinishTime; //预计完成时间
- public string $warehouseId; //仓库ID
- //Optional
- public string $notifyUrl; //任务执行通知地址
- public array $storages; //存储Storage对象示例:[{type:"",serialNo:""}]
- public $attributes; //一些属性:{dischargeLocations:""},这里在初始传递时应为一个对象,通过内部转换为key-val数组
- public array $items;
- }
|