All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.github.lunasaw.gb28181.common.entity.base.DeviceBase Maven / Gradle / Ivy

The newest version!
package io.github.lunasaw.gb28181.common.entity.base;

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

import io.github.lunasaw.gb28181.common.entity.xml.XmlBean;
import lombok.Getter;
import lombok.Setter;

/**
 * @author luna
 */
@Getter
@Setter
@XmlAccessorType(XmlAccessType.FIELD)
public class DeviceBase extends XmlBean {
    @XmlElement(name = "CmdType")
    private String cmdType;

    @XmlElement(name = "SN")
    private String sn;

    @XmlElement(name = "DeviceID")
    private String deviceId;

    public DeviceBase() {
    }

    public DeviceBase(String cmdType, String sn, String deviceId) {
        this.cmdType = cmdType;
        this.sn = sn;
        this.deviceId = deviceId;
    }


}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy