From 58d7b0e12ccd92cf3934f6582b51b5fbcecaa39a Mon Sep 17 00:00:00 2001 From: ZengTao <2773468879@qq.com> Date: 星期四, 09 五月 2024 09:42:41 +0800 Subject: [PATCH] 修改注入方式 --- springboot-vue3/src/main/java/com/example/springboot/entity/Glass.java | 84 +++++++++++++++++++++++------------------ 1 files changed, 47 insertions(+), 37 deletions(-) diff --git a/springboot-vue3/src/main/java/com/example/springboot/entity/Glass.java b/springboot-vue3/src/main/java/com/example/springboot/entity/Glass.java index 9ab999d..82a59ec 100644 --- a/springboot-vue3/src/main/java/com/example/springboot/entity/Glass.java +++ b/springboot-vue3/src/main/java/com/example/springboot/entity/Glass.java @@ -1,48 +1,58 @@ package com.example.springboot.entity; +//鐜荤拑淇℃伅琛� +public class Glass { + private Integer id;//鑷id + private String orderId;//璁㈠崟id + private double width;//瀹藉害 + private double height;//楂樺害 + private String glassId;//鐜荤拑id -public class Glass{ - private Integer id; - private Short orderId; - private double glassWidth; - private Short glassId; - - + public Integer id() { + return id; + } - public Integer id() { - return id; - } - public void setId(Integer id) { - this.id = id; - } - public Integer getId() { - return id; - } + public void setId(Integer id) { + this.id = id; + } - public Short getOrderId() { - return orderId; - } + public Integer getId() { + return id; + } - public void setOrderId(Short orderId) { - this.orderId = orderId; - } - - public double getWidth() { - return glassWidth; - } + public String getOrderId() { + return orderId; + } - public void setWidth(double glassWidth) { - this.glassWidth = glassWidth; - } + public void setOrderId(String orderId) { + this.orderId = orderId; + } - public Short getGlassId() { - return glassId; - } + public double getwidth() { + return width; + } - public void setGlassId(Short glassId) { - this.glassId = glassId; - } + public void setHeight(double height) { + this.height = height; + } - - + public double getHeight() { + return height; + } + + public void setWidth(double width) { + this.width = width; + } + + public void getWidth(double width) { + this.width = width; + } + + public String getGlassId() { + return glassId; + } + + public void setGlassId(String glassId) { + this.glassId = glassId; + } } \ No newline at end of file -- Gitblit v1.8.0