ShuntNameXml.java 1.0 KB
package com.agent.xml.shunt;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlType;

/**
 * Created by cohesion on 2017/4/24.
 */
@XmlType
@XmlAccessorType(XmlAccessType.FIELD)
public class ShuntNameXml {

    @XmlElement(name = "JourneyID",required = false)
    private String journeyID;

    @XmlElement(name = "TypeCode",required = false)
    private String typeCode;

    @XmlElement(name = "Carrier",required = false)
    private String carrier;

    public String getJourneyID() {
        return journeyID;
    }

    public void setJourneyID(String journeyID) {
        this.journeyID = journeyID;
    }

    public String getTypeCode() {
        return typeCode;
    }

    public void setTypeCode(String typeCode) {
        this.typeCode = typeCode;
    }

    public String getCarrier() {
        return carrier;
    }

    public void setCarrier(String carrier) {
        this.carrier = carrier;
    }
}