package com.bocloud.nms.model.campus;

import java.util.Date;

public class DeviceInterfaceModel {

    private Long deviceId;
    private Long ifIndex; // 接口索引。
    private Integer ifType; // 接口类型。 0:VIRTUAL. 1:OTHER. 2:REGULAR1822. 3:HDH1822. 4:DDNX25. 5: RFC877X25. 6: ETHERNETCSMACD. 7: ISO88023CSMACD. 8: ISO88024TOKENBUS. 9: ISO88025TOKENRING. 10: ISO88026MAN. 11: STARLAN. 12: PROTEON10MBIT. 13: PROTEON80MBIT. 14: HYPERCHANNEL. 15: FDDI. 16: LAPB. 17: SDLC. 18: DS1. 19: E1. 20: BASICISDN. 21: PRIMARYISDN. 22: PROPPOINTTOPOINTSERIAL. 23: PPP. 24: SOFTWARELOOPBACK. 25: EON. 26: ETHERNET3MBIT. 27: NSIP. 28: SLIP. 29: ULTRA. 30: DS3. 31: SIP. 32: FRAMERELAY. 33: RS232. 34: PARA. 35: ARCNET. 36: ARCNETPLUS. 37: ATM. 38: MIOX25. 39:SONET. 40:X25PLE. 41:ISO88022LLC. 42:LOCALTALK. 43:SMDSDXI. 44:FRAMERELAYSERVICE. 45:V35. 46:HSSI. 47:HIPPI. 48:MODEM. 49:AAL5. 50:SONETPATH. 51:SONETVT. 52:SMDSICIP. 53:PROPVIRTUAL. 54:PROPMULTIPLEXOR. 55:IEEE80212. 56:FIBRECHANNEL. 57:HIPPIINTERFACE. 58:FRAMERELAYINTERCONNECT. 59:AFLANE8023. 60:AFLANE8025. 61:CCTEMUL. 62:FASTETHER. 63:ISDN. 64:V11. 65:V36. 66:G703AT64K. 67:G703AT2MB. 68:QLLC. 69:FASTETHERFX. 70:CHANNEL. 71:IEEE80211. 72:IBM370PARCHAN. 73:ESCON. 74:DLSW. 75:ISDNS. 76:ISDNU. 77:LAPD. 78:IPSWITCH. 79:RSRB. 80:ATMLOGICAL. 81:DS0. 82:DS0BUNDLE. 83:BSC. 84:ASYNC. 85:CNR. 86:ISO88025DTR. 87:EPLRS. 88:ARAP. 89:PROPCNLS. 90:HOSTPAD. 91:TERMPAD. 92:FRAMERELAYMPI. 93:X213. 94:ADSL. 95:RADSL. 96:SDSL. 97:VDSL. 98:ISO88025CRFPINT. 99:MYRINET. 100:VOICEEM. 101:VOICEFXO. 102:VOICEFXS. 103:VOICEENCAP. 104:VOICEOVERIP. 105:ATMDXI. 106:ATMFUNI. 107:ATMIMA. 108:PPPMULTILINKBUNDLE. 109:IPOVERCDLC. 110:IPOVERCLAW. 111:STACKTOSTACK. 112:VIRTUALIPADDRESS. 113:MPC. 114:IPOVERATM. 115:ISO88025FIBER. 116:TDLC. 117:GIGABITETHERNET. 118:HDLC. 119:LAPF. 120:V37. 121:X25MLP. 122:X25HUNTGROUP. 123:TRASNPHDLC. 124:INTERLEAVE. 125:FAST. 126:IP. 127:DOCSCABLEMACLAYER. 128:DOCSCABLEDOWNSTREAM. 129:DOCSCABLEUPSTREAM. 130:A12MPPSWITCH. 131:TUNNEL. 132:COFFEE. 133:CES. 134:ATMSUBINTERFACE. 135:L2VLAN. 136:L3IPVLAN. 137:L3IPXVLAN. 138:DIGITALPOWERLINE. 139:MEDIAMAILOVERIP. 140:DTM. 141:DCN. 142:IPFORWARD. 143:MSDSL. 144:IEEE1394. 145:IF_GSN. 146:DVBRCCMACLAYER. 147:DVBRCCDOWNSTREAM. 148:DVBRCCUPSTREAM. 149:ATMVIRTUAL. 150:MPLSTUNNEL. 151:SRP. 152:VOICEOVERATM. 153:VOICEOVERFRAMERELAY. 154:IDSL. 155:COMPOSITELINK. 156:SS7SIGLINK. 157:propWirelessP2P. 158:frForward. 159:rfc1483. 160:usb. 161:ieee8023adLag. 65534:SWITCHSTACK.
    private String ifTypeDesc; // 接口类型描述。
    private String ifDescription; // 接口描述。
    private Integer adminStatus; // 管理状态。1：Up，2：Down。
    private String adminStatusDesc; // 管理状态描述。
    private Integer operationStatus; // 操作状态。1：Up，2：Down，3：Testing，4：Unknown，5：Dormant，6：NotPresent，7：LowerLayerDown
    private String operationStatusDesc; // 操作状态描述。
    private Integer showStatus; // 显示状态。-2：Unmanaged，-1：Disable，1：Up，2：Down，4：Unkown。
    private String statusDesc; // 显示状态描述。
    private Long ifSpeed; // 接口速率。
    private Long appointedSpeed; // 指定速率。
    private String ifAlias; // 接口别名。
    private String phyAddress; // 物理地址
    private Integer mtu; // 最大传输单元
    private String lastChange; // 最后改变时间
    private Date lastChangeTime; // 最后改变时间

    public Long getIfIndex() {
        return ifIndex;
    }

    public void setIfIndex(Long ifIndex) {
        this.ifIndex = ifIndex;
    }

    public Integer getIfType() {
        return ifType;
    }

    public void setIfType(Integer ifType) {
        this.ifType = ifType;
    }

    public String getIfTypeDesc() {
        return ifTypeDesc;
    }

    public void setIfTypeDesc(String ifTypeDesc) {
        this.ifTypeDesc = ifTypeDesc;
    }

    public String getIfDescription() {
        return ifDescription;
    }

    public void setIfDescription(String ifDescription) {
        this.ifDescription = ifDescription;
    }

    public Integer getAdminStatus() {
        return adminStatus;
    }

    public void setAdminStatus(Integer adminStatus) {
        this.adminStatus = adminStatus;
    }

    public String getAdminStatusDesc() {
        return adminStatusDesc;
    }

    public void setAdminStatusDesc(String adminStatusDesc) {
        this.adminStatusDesc = adminStatusDesc;
    }

    public Integer getOperationStatus() {
        return operationStatus;
    }

    public void setOperationStatus(Integer operationStatus) {
        this.operationStatus = operationStatus;
    }

    public String getOperationStatusDesc() {
        return operationStatusDesc;
    }

    public void setOperationStatusDesc(String operationStatusDesc) {
        this.operationStatusDesc = operationStatusDesc;
    }

    public Integer getShowStatus() {
        return showStatus;
    }

    public void setShowStatus(Integer showStatus) {
        this.showStatus = showStatus;
    }

    public String getStatusDesc() {
        return statusDesc;
    }

    public void setStatusDesc(String statusDesc) {
        this.statusDesc = statusDesc;
    }

    public Long getIfSpeed() {
        return ifSpeed;
    }

    public void setIfSpeed(Long ifSpeed) {
        this.ifSpeed = ifSpeed;
    }

    public Long getAppointedSpeed() {
        return appointedSpeed;
    }

    public void setAppointedSpeed(Long appointedSpeed) {
        this.appointedSpeed = appointedSpeed;
    }

    public String getIfAlias() {
        return ifAlias;
    }

    public void setIfAlias(String ifAlias) {
        this.ifAlias = ifAlias;
    }

    public String getPhyAddress() {
        return phyAddress;
    }

    public void setPhyAddress(String phyAddress) {
        this.phyAddress = phyAddress;
    }

    public Integer getMtu() {
        return mtu;
    }

    public void setMtu(Integer mtu) {
        this.mtu = mtu;
    }

    public String getLastChange() {
        return lastChange;
    }

    public void setLastChange(String lastChange) {
        this.lastChange = lastChange;
    }

    public Date getLastChangeTime() {
        return lastChangeTime;
    }

    public void setLastChangeTime(Date lastChangeTime) {
        this.lastChangeTime = lastChangeTime;
    }


    public Long getDeviceId() {
        return deviceId;
    }

    public void setDeviceId(Long deviceId) {
        this.deviceId = deviceId;
    }
}
