package com.wms_main.model.dto.response.wcs;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Getter;
import lombok.Setter;
import org.springframework.format.annotation.DateTimeFormat;

import cn.hutool.core.date.DateTime;


/**
 * 立库查询是否可上料响应
 */
@Getter
@Setter
public class WcsCanFeedResponse {
    @JsonProperty("responseTime")
    @JsonFormat(pattern = "yyyy-MM-dd hh:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd hh:mm:ss")
    private DateTime responseTime;

    @JsonProperty("allowAction")
    boolean allowAction;

    @JsonProperty("msg")
    String msg;
}