package com.shkj.wms.bo;

import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotBlank;
import java.io.Serializable;

/**
 * 堆垛机命令
 *
 * @author zjx
 * @date 2023-06-08
 */
@Data
@NoArgsConstructor
@Accessors(chain = true)
public class LocationMoveBo implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 分支id
     */
    private Long branchId;

    /**
     * 从货位编码
     */
    private String fromLocationCode;
    /**
     * 到货位编码
     */
    private String toLocationCode;

    /**
     * 任务ID
     */
    @NotBlank(message = "任务ID")
    private Long taskId;


    /**
     * 排
     */
    @NotBlank(message = "from排")
    private String fromRow;

    /**
     * 层
     */
    @NotBlank(message = "from层")
    private String fromColumn;

    /**
     * 列
     */
    @NotBlank(message = "from列")
    private String fromLayer;


    /**
     * to排
     */
    private String toRow;

    /**
     * to层
     */
    private String toColumn;

    /**
     * to列
     */
    private String toLayer;


}
