package org.wcs.model.dto.serve.stackerLocation;

import com.fasterxml.jackson.annotation.JsonProperty;
import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import lombok.Getter;
import lombok.Setter;

import java.time.LocalDateTime;

@Getter
@Setter
public class AddStackerLocationReq {

    /**
     * 库位ID
     */
    @NotBlank(message = "库位ID不能为空")
    @JsonProperty(value = "locationId")
    private String locationId;

    /**
     * 业务库位
     */
    @NotBlank(message = "业务库位不能为空")
    @JsonProperty("businessLocation")
    private String businessLocation;

    /**
     * 库位类型
     */
    @NotNull(message = "库位类型不能为空")
    @JsonProperty("locationType")
    private Integer locationType;

    /**
     * 巷道号
     */
    @NotNull(message = "巷道号不能为空")
    @JsonProperty("laneId")
    private Integer laneId;

    /**
     * 堆垛机ID
     */
    @NotNull(message = "堆垛机ID不能为空")
    @JsonProperty("machineId")
    private Integer machineId;

    /**
     * 排
     */
    @NotNull(message = "排不能为空")
    @JsonProperty("lRow")
    private Integer lRow;

    /**
     * 列
     */
    @NotNull(message = "列不能为空")
    @JsonProperty("lLine")
    private Integer lLine;

    /**
     * 层
     */
    @NotNull(message = "层不能为空")
    @JsonProperty("lLayer")
    private Integer lLayer;

    /**
     * 深度
     */
    @NotNull(message = "深度不能为空")
    @JsonProperty("lDepth")
    private Integer lDepth;

    /**
     * 库位标签
     */
    @JsonProperty("locationTag")
    private String locationTag;


    /**
     * 备注
     */
    @JsonProperty("remark")
    private String remark;
}
