de.aipark.api.device.DeviceManufacturer 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 DeviceManufacturer implements Serializable {
private int id;
@ApiModelProperty(required = true, example = "HTC")
private String name;
public DeviceManufacturer(){}
public DeviceManufacturer(String name) {this.name = name;}
public DeviceManufacturer(int id, String name) {
this.id = id;
this.name = name;
}
public int getId() {return id;}
public void setId(int id) {this.id = id;}
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
@Override
public String toString() {
return "DeviceManufacturer{" +
"id=" + id +
", name=" + name + '\'' +
'}';
}
}