package com.zy.asrs.wms.asrs.entity.dto; import com.fasterxml.jackson.annotation.JsonAnyGetter; import com.zy.asrs.wms.asrs.entity.param.FieldParam; import lombok.Data; import java.util.HashMap; import java.util.List; import java.util.Map; @Data public class MergePreviewDto { private String matnr; private String batch; private Double anfme; private Double workQty; private List orderIds; private List fieldParams; private String fieldParamsEncode; /** * 1: 已完成 * 2: 部分完成 * 0: 未完成 */ private Integer status; //动态扩展字段 public transient Map dynamicFields = new HashMap<>(); @JsonAnyGetter public Map getDynamicFields() { return dynamicFields; } public String getFieldString(String key) { return dynamicFields.get(key).toString(); } public void setField(String key, Object value) { dynamicFields.put(key, value); } }