审查视图

src/main/java/com/tianbo/analysis/model/CustomReception.java 2.9 KB
朱兆平 authored
1 2 3 4 5 6
package com.tianbo.analysis.model;

import lombok.Data;

@Data
public class CustomReception {
7
    //回执报头
朱兆平 authored
8 9 10 11 12 13 14
    private String messageID;
    private String functionCode;
    private String messageType;
    private String senderID;
    private String receiverID;
    private String sendTime;
    private String version;
15 16

    //一般业务回执
朱兆平 authored
17 18 19 20 21 22 23
    private String flightNo;
    private String flightDate;
    private String wayBillMaster;
    private String wayBillSecond;
    private String responseCode;
    private String responseText;
24 25 26 27 28 29 30 31
    //国际转运回执
    private String importFlightDate;
    private String importFlightNo;
    private String importWaybillMaster;
    private String exportFlightDate;
    private String exportFlightNo;
    private String exportWaybillMaster;
朱兆平 authored
32 33 34 35 36
    public  CustomReception(String messageType,
                            String flightNo,
                            String flightDate,
                            String wayBillMaster,
                            String wayBillSecond,
朱兆平 authored
37
                            String responseCode,
申海龙 authored
38
                            String responseText,
朱兆平 authored
39 40 41 42 43 44
                            String messageID,
                            String sendTime,
                            String senderID,
                            String receiverID,
                            String version,
                            String functionCode){
朱兆平 authored
45 46 47 48 49
        this.messageType = messageType;
        this.flightNo = flightNo;
        this.flightDate = flightDate;
        this.wayBillMaster = wayBillMaster;
        this.wayBillSecond = wayBillSecond;
朱兆平 authored
50
        this.responseCode = responseCode;
朱兆平 authored
51
        this.responseText = responseText;
申海龙 authored
52
        this.messageID = messageID;
朱兆平 authored
53 54 55 56 57
        this.sendTime = sendTime;
        this.senderID =senderID;
        this.receiverID = receiverID;
        this.version = version;
        this.functionCode = functionCode;
朱兆平 authored
58
    }
59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84

    public  CustomReception(String messageType,
                            String importFlightNo,
                            String importFlightDate,
                            String importWaybillMaster,
                            String transResponseCode,
                            String transResponseText,
                            String messageID,
                            String sendTime,
                            String senderID,
                            String receiverID,
                            String version,
                            String functionCode){
        this.messageType = messageType;
        this.importFlightNo = importFlightNo;
        this.importFlightDate = importFlightDate;
        this.importWaybillMaster = importWaybillMaster;
        this.responseCode = transResponseCode;
        this.responseText = transResponseText;
        this.messageID = messageID;
        this.sendTime = sendTime;
        this.senderID =senderID;
        this.receiverID = receiverID;
        this.version = version;
        this.functionCode = functionCode;
    }
朱兆平 authored
85
}