From 768e16999a8ce4bb500490ee76c659aa61ea1783 Mon Sep 17 00:00:00 2001
From: 廖井涛 <2265517004@qq.com>
Date: 星期二, 25 三月 2025 10:08:13 +0800
Subject: [PATCH] Merge branch 'master' of http://bore.pub:10439/r/ERP_override
---
north-glass-erp/src/main/java/com/example/erp/entity/pp/LayoutsData.java | 113 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++
1 files changed, 113 insertions(+), 0 deletions(-)
diff --git a/north-glass-erp/src/main/java/com/example/erp/entity/pp/LayoutsData.java b/north-glass-erp/src/main/java/com/example/erp/entity/pp/LayoutsData.java
new file mode 100644
index 0000000..f9a2d9c
--- /dev/null
+++ b/north-glass-erp/src/main/java/com/example/erp/entity/pp/LayoutsData.java
@@ -0,0 +1,113 @@
+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;
+ }
+}
+}
\ No newline at end of file
--
Gitblit v1.8.0