65 lines
1.2 KiB
Java
65 lines
1.2 KiB
Java
package com.example.qualitychecker.models;
|
|
|
|
import java.util.Arrays;
|
|
|
|
public class InspectionItemDefect {
|
|
|
|
private long id;
|
|
private long cpId;
|
|
private String title;
|
|
private String defectSeverity;
|
|
// wrapper
|
|
private byte[] file;
|
|
|
|
public long getId() {
|
|
return id;
|
|
}
|
|
|
|
public void setId(long id) {
|
|
this.id = id;
|
|
}
|
|
|
|
public long getCpId() {
|
|
return cpId;
|
|
}
|
|
|
|
public void setCpId(long cpId) {
|
|
this.cpId = cpId;
|
|
}
|
|
|
|
public String getTitle() {
|
|
return title;
|
|
}
|
|
|
|
public void setTitle(String title) {
|
|
this.title = title;
|
|
}
|
|
|
|
public String getDefectSeverity() {
|
|
return defectSeverity;
|
|
}
|
|
|
|
public void setDefectSeverity(String defectSeverity) {
|
|
this.defectSeverity = defectSeverity;
|
|
}
|
|
|
|
public byte[] getFile() {
|
|
return file;
|
|
}
|
|
|
|
public void setFile(byte[] file) {
|
|
this.file = file;
|
|
}
|
|
|
|
|
|
@Override
|
|
public String toString() {
|
|
return "InspectionItemDefect{" +
|
|
"id=" + id +
|
|
", cpId=" + cpId +
|
|
", title='" + title + '\'' +
|
|
", file=" + Arrays.toString(file) +
|
|
'}';
|
|
}
|
|
}
|