添加主航班的共享航班信息

This commit is contained in:
zhouxiunai
2019-01-15 19:32:52 +08:00
parent dd6070be82
commit c6c9f0a4f8
5 changed files with 94 additions and 4 deletions
@@ -0,0 +1,39 @@
package com.gzzn.omms.msgexchangeapi.entity.msg;
import java.math.BigInteger;
import javax.xml.bind.annotation.XmlElement;
import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.annotations.ApiModelProperty;
public class MAFLDATA {
@ApiModelProperty(value="航班id")
@XmlElement(name = "FLID", required = true)
@JsonProperty("FLID")
protected BigInteger flid;//航班id
@ApiModelProperty(value="航班号 ")
@XmlElement(name = "FLNO", required = true)
@JsonProperty("FLNO")
protected String flno;//flight number 航班号
public BigInteger getFlid() {
return flid;
}
public void setFlid(BigInteger flid) {
this.flid = flid;
}
public String getFlno() {
return flno;
}
public void setFlno(String flno) {
this.flno = flno;
}
}
@@ -360,7 +360,7 @@ public class SCHD
@JsonProperty("FLTY")
protected String flty;//航班类型如客机、货机、军用、VIP等
@ApiModelProperty(value="Flight indicator 航班标识 ")
@ApiModelProperty(value="Flight indicator 航班标识,D 国内 I 国际 M 混合 ")
@XmlElement(name = "FLIN", required = true)
@JsonProperty("FLIN")
@XmlSchemaType(name = "string")
@@ -633,6 +633,11 @@ public class SCHD
@JsonProperty("ABN")
protected List<ABNDATA> abn;//abnormal 异常状态信息列表,DLY,RTN,CAN,ALT
@ApiModelProperty(value="共享航班数据信息")
@XmlElement(name = "MAFL")
@JsonProperty("MAFL")
protected List<MAFLDATA> mafl;//共享航班数据信息
/**
* 获取flid属性的值。
*
@@ -2135,6 +2140,17 @@ public class SCHD
public void setAbn(List<ABNDATA> abn) {
this.abn = abn;
}
public List<MAFLDATA> getMafl() {
if (null == mafl) {
mafl = new ArrayList<MAFLDATA>();
}
return mafl;
}
public void setMafl(List<MAFLDATA> mafl) {
this.mafl = mafl;
}
}
}