package com.example.erp.entity.pp;
|
|
import com.fasterxml.jackson.annotation.JsonProperty;
|
import java.util.List;
|
|
public class LayoutsData {
|
@JsonProperty("Layouts")
|
private List<Layout> layouts;
|
|
public List<Layout> getLayouts() {
|
return layouts;
|
}
|
|
|
public static class Layout {
|
@JsonProperty("mnumber")
|
private int mNumber;
|
@JsonProperty("width")
|
private int width;
|
@JsonProperty("rects")
|
private List<Rect> rects;
|
@JsonProperty("wuliao")
|
private String material;
|
@JsonProperty("SameCount")
|
private int sameCount;
|
@JsonProperty("height")
|
private int height;
|
|
public int getWidth() {
|
return width;
|
}
|
public int getSameCount() {
|
return sameCount;
|
}
|
public String getWuliao() {
|
return material;
|
}
|
|
public int getHeight() {
|
return height;
|
}
|
|
public List<Rect> getRects() {
|
return rects;
|
}
|
}
|
|
public static class Rect {
|
@JsonProperty("isRemain")
|
private boolean isRemain;
|
@JsonProperty("h")
|
private int h;
|
@JsonProperty("DM2")
|
private int dm2;
|
@JsonProperty("xuhao")
|
private String serialNumber;
|
@JsonProperty("DM1")
|
private int dm1;
|
@JsonProperty("liuchengka")
|
private String processCard;
|
@JsonProperty("JiaHao")
|
private String jiaHao;
|
@JsonProperty("LM2")
|
private int lm2;
|
@JsonProperty("LM1")
|
private int lm1;
|
@JsonProperty("w")
|
private int W;
|
@JsonProperty("x")
|
private int x;
|
@JsonProperty("y")
|
private int y;
|
@JsonProperty("rownumber")
|
private int rowNumber;
|
|
public int getWidth() {
|
return W;
|
}
|
|
public int getHeight() {
|
return h;
|
}
|
|
|
public String getProcessCard() {
|
return processCard;
|
}
|
|
public int getW() {
|
return W;
|
}
|
|
public int getX() {
|
return x;
|
}
|
|
public int getY() {
|
return y;
|
}
|
|
public String getJiaHao() {
|
return jiaHao;
|
}
|
|
public int getH() {
|
return h;
|
}
|
|
public boolean isRemain() {
|
return isRemain;
|
}
|
}
|
}
|