package com.northglass.entity;
|
|
public class Info {
|
|
private int id;
|
private double width;
|
private double height;
|
private int count;
|
private int sheetWidth;
|
private int sheetHeight;
|
|
public Info() { }
|
|
public Info(int id, double width, double height, int count, int sheetWidth, int sheetHeight) {
|
super();
|
this.id = id;
|
this.width = width;
|
this.height = height;
|
this.count = count;
|
this.sheetWidth = sheetWidth;
|
this.sheetHeight = sheetHeight;
|
}
|
|
public int getId() {
|
return id;
|
}
|
|
public void setId(int id) {
|
this.id = id;
|
}
|
|
public double getWidth() {
|
return width;
|
}
|
|
public void setWidth(double width) {
|
this.width = width;
|
}
|
|
public double getHeight() {
|
return height;
|
}
|
|
public void setHeight(double height) {
|
this.height = height;
|
}
|
|
public int getCount() {
|
return count;
|
}
|
|
public void setCount(int count) {
|
this.count = count;
|
}
|
|
public int getSheetWidth() {
|
return sheetWidth;
|
}
|
|
public void setSheetWidth(int sheetWidth) {
|
this.sheetWidth = sheetWidth;
|
}
|
|
public int getSheetHeight() {
|
return sheetHeight;
|
}
|
|
public void setSheetHeight(int sheetHeight) {
|
this.sheetHeight = sheetHeight;
|
}
|
|
@Override
|
public String toString() {
|
return this.getId() + ": " + this.getWidth() + "*" + this.getHeight() + "*" + this.getCount();
|
}
|
}
|