Merge branch 'fix/data-class' into 'master'

Ref: use lombok annotation

See merge request sheepitrenderfarm/client!182
This commit is contained in:
harlekin
2023-01-06 14:30:17 +00:00

View File

@@ -19,6 +19,9 @@
package com.sheepit.client.hardware.gpu;
import lombok.Data;
@Data
public class GPUDevice {
private String type;
private String model;
@@ -42,54 +45,6 @@ public class GPUDevice {
this.oldId = oldId;
}
public String getType() {
return type;
}
public void setType(String type) {
this.type = type;
}
public String getModel() {
return model;
}
public void setModel(String model) {
this.model = model;
}
public long getMemory() {
return memory;
}
public void setMemory(long memory) {
this.memory = memory;
}
public String getId() {
return id;
}
public void setId(String id) {
this.id = id;
}
public String getOldId() {
return oldId;
}
public void setOldId(String id) {
this.oldId = id;
}
public String getDriverVersion() {
return this.driverVersion;
}
public void setDriverVersion(String driverVersion) {
this.driverVersion = driverVersion;
}
@Override public String toString() {
return "GPUDevice [type=" + type + ", model='" + model + "', memory=" + memory + ", id=" + id + ", driverVersion=" + driverVersion + "]";
}