de.aipark.api.device.AppVersion Maven / Gradle / Ivy
package de.aipark.api.device;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
/**
* Created by Andreas on 02.11.16
*/
@SuppressWarnings({"unused", "WeakerAccess"})
public class AppVersion implements Serializable {
private int id;
@ApiModelProperty(example = "v1.1")
private String version;
public AppVersion() {
}
public AppVersion(String version) {
this.version = version;
}
public AppVersion(int id, String version) {
this.id = id;
this.version = version;
}
public int getId() {
return id;
}
public void setId(int id) {
this.id = id;
}
public String getVersion() {
return version;
}
public void setVersion(String version) {
this.version = version;
}
@Override
public String toString() {
return "AppVersion{" +
"id=" + id +
", version=" + version + '\'' +
'}';
}
}