All Downloads are FREE. Search and download functionalities are using the official Maven repository.

me.chanjar.weixin.channel.bean.warehouse.WarehouseStockResponse Maven / Gradle / Ivy

There is a newer version: 4.7.1.B
Show newest version
package me.chanjar.weixin.channel.bean.warehouse;

import com.fasterxml.jackson.annotation.JsonProperty;
import java.util.Map;
import lombok.Data;
import me.chanjar.weixin.channel.bean.base.WxChannelBaseResponse;

/**
 * 仓库库存响应
 *
 * @author Zeyes
 */
@Data
public class WarehouseStockResponse extends WxChannelBaseResponse {

  private static final long serialVersionUID = 1810645965041317763L;
  /** 仓库库存 */
  @JsonProperty("num")
  private Integer num;

  public WarehouseStockResponse() {
  }

  @JsonProperty("data")
  private void unpackNameFromNestedObject(Map map) {
    if (map == null) {
      return;
    }
    Object obj = map.get("num");
    if (obj != null) {
      this.num = (Integer) obj;
    }
  }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy