增加航班异常信息记录字段。

This commit is contained in:
zhouxiunai
2019-01-15 11:54:41 +08:00
parent 4462d09dd0
commit 30a69b8cfa
3 changed files with 22 additions and 3 deletions
@@ -0,0 +1,15 @@
package com.gzzn.omms.msgexchangeapi.entity.msg;
import javax.xml.bind.annotation.XmlElement;
import com.fasterxml.jackson.annotation.JsonProperty;
public class ABNDATA {
@XmlElement(name = "TYPE", required = true)
@JsonProperty("TYPE")
protected String type;
@XmlElement(name = "BODY")
@JsonProperty("BODY")
protected String body;//json 串或普通字符串,每个type一种
}
@@ -53,13 +53,13 @@ public class DIVERSIONDATA
private final static long serialVersionUID = 1L;
@XmlValue
@JsonProperty("VALUE")
protected String value;
protected String value;//转场原因
@XmlAttribute(name = "DDES")
@JsonProperty("DDES")
protected String ddes;
protected String ddes;//转场机场
@XmlAttribute(name = "DDIR")
@JsonProperty("DDIR")
protected String ddir;
protected String ddir;//转场方向TO,FROM
/**
* 获取value属性的值。
@@ -566,6 +566,10 @@ public class SCHD
@XmlElement(name = "NAAT")
@JsonProperty("NAAT")
protected String naat;
@XmlElement(name = "ABN")
@JsonProperty("ABN")
protected List<ABNDATA> abn;//abnormal 异常状态信息列表,DLY,RTN,CAN,ALT
/**
* 获取flid属性的值。