package com.persagy.entity; import com.alibaba.fastjson.JSON; import com.alibaba.fastjson.JSONObject; import lombok.extern.slf4j.Slf4j; import org.zillion.util.json.FastJsonUtil; import javax.xml.bind.annotation.XmlRootElement; @Slf4j @XmlRootElement(name = "WSEntity_datas_batch") public class WSEntity_datas_batch { public WSEntity_datas_batch() { } public WSEntity_datas_batch(String str) { try { JSONObject json = (JSONObject) JSON.parse(str); FastJsonUtil.Set_JavaObject(json, this); } catch (Exception e) { log.error(e.getMessage(),e); } } String building; WSEntity_datas[] data_array; public String getBuilding() { return building; } public void setBuilding(String building) { this.building = building; } public WSEntity_datas[] getData_array() { return data_array; } public void setData_array(WSEntity_datas[] data_array) { this.data_array = data_array; } }