package org.nl.acs.ext.wms.data;

import lombok.Data;

import java.util.HashMap;
import java.util.Map;

@Data
public class CreateTaskRequest extends BaseRequest  {

    /**
     * 任务编号
     */
    private String task_id;

    /**
     * 任务编号
     */
    private String task_code;


    /**
     * 取货点1
     */
    String start_device_code;

    /**
     * 放货点1
     */
    String next_device_code;

    /**
     * 优先级
     */
    String priority = "1";

    /**
     * 载具号
     */
    String vehicle_code;

    /**
     * 载具类型
     */
    String vehicle_type;


    /**
     * 任务类型
     */
    String task_type;

    /**
     * agv任务类型
     */
    String agv_task_type;


    /**
     * agv任务类型
     */
    String sys_type;


    /**
     * 备注
     */
    String remark;

    /**
     * 扩展属性
     */
    Map<String,String> params = new HashMap<>();

    @Override
    public String toString() {
        return "CreateTaskRequest{" +
                "task_id='" + task_id + '\'' +
                ", task_code='" + task_code + '\'' +
                ", start_device_code='" + start_device_code + '\'' +
                ", next_device_code='" + next_device_code + '\'' +
                ", priority='" + priority + '\'' +
                ", vehicle_code='" + vehicle_code + '\'' +
                ", vehicle_type='" + vehicle_type + '\'' +
                ", task_type='" + task_type + '\'' +
                ", agv_task_type='" + agv_task_type + '\'' +
                ", remark='" + remark + '\'' +
                ", params=" + params +
                '}';
    }
}
