WSEntity_datas_batch.java 913 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. package com.persagy.entity;
  2. import com.alibaba.fastjson.JSON;
  3. import com.alibaba.fastjson.JSONObject;
  4. import lombok.extern.slf4j.Slf4j;
  5. import org.zillion.util.json.FastJsonUtil;
  6. import javax.xml.bind.annotation.XmlRootElement;
  7. @Slf4j
  8. @XmlRootElement(name = "WSEntity_datas_batch")
  9. public class WSEntity_datas_batch {
  10. public WSEntity_datas_batch() {
  11. }
  12. public WSEntity_datas_batch(String str) {
  13. try {
  14. JSONObject json = (JSONObject) JSON.parse(str);
  15. FastJsonUtil.Set_JavaObject(json, this);
  16. } catch (Exception e) {
  17. log.error(e.getMessage(),e);
  18. }
  19. }
  20. String building;
  21. WSEntity_datas[] data_array;
  22. public String getBuilding() {
  23. return building;
  24. }
  25. public void setBuilding(String building) {
  26. this.building = building;
  27. }
  28. public WSEntity_datas[] getData_array() {
  29. return data_array;
  30. }
  31. public void setData_array(WSEntity_datas[] data_array) {
  32. this.data_array = data_array;
  33. }
  34. }