审查视图

src/main/java/com/tianbo/analysis/config/CustomsProperties.java 2.3 KB
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72
package com.tianbo.analysis.config;

import lombok.extern.slf4j.Slf4j;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;


/**
 * @author mrz
 * 海关相关配置
 */
@Slf4j
@Component
@ConfigurationProperties(prefix = "customs")
public class CustomsProperties {
    private  String inputOpName;
    private  String inputOpId;
    private  String applyName;
    private  String applyCode;
    private  String copCode;
    private  Transarrive transarrive;

    public String getInputOpName() {
        return inputOpName;
    }

    public void setInputOpName(String inputOpName) {
        this.inputOpName = inputOpName;
    }

    public String getInputOpId() {
        return inputOpId;
    }

    public void setInputOpId(String inputOpId) {
        this.inputOpId = inputOpId;
    }

    public String getApplyName() {
        return applyName;
    }

    public void setApplyName(String applyName) {
        this.applyName = applyName;
    }

    public String getApplyCode() {
        return applyCode;
    }

    public void setApplyCode(String applyCode) {
        this.applyCode = applyCode;
    }

    public String getCopCode() {
        return copCode;
    }

    public void setCopCode(String copCode) {
        this.copCode = copCode;
    }

    public Transarrive getTransarrive() {
        return transarrive;
    }

    public void setTransarrive(Transarrive transarrive) {
        this.transarrive = transarrive;
    }

    public static class Transarrive {
        private  String xmlSave;
73 74 75 76 77 78 79 80 81 82 83
        private  String clientSeqno;
        private  String hostId;
        private String certNo;

        public String getCertNo() {
            return certNo;
        }

        public void setCertNo(String certNo) {
            this.certNo = certNo;
        }
84 85 86 87 88 89 90 91

        public  String getXmlSave() {
            return xmlSave;
        }

        public void setXmlSave(String xmlSave) {
            this.xmlSave = xmlSave;
        }
92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107

        public String getClientSeqno() {
            return clientSeqno;
        }

        public void setClientSeqno(String clientSeqno) {
            this.clientSeqno = clientSeqno;
        }

        public String getHostId() {
            return hostId;
        }

        public void setHostId(String hostId) {
            this.hostId = hostId;
        }
108 109
    }
}