From 712b7bd7bfc09dee41a63c769a272b9ebae68c90 Mon Sep 17 00:00:00 2001 From: wu <731351411@qq.com> Date: 星期四, 07 三月 2024 14:44:11 +0800 Subject: [PATCH] 更新代码 --- springboot-vue3/src/main/java/com/example/springboot/entity/glassinfo.java | 76 ++++++++++++++++++++++++++++++-------- 1 files changed, 60 insertions(+), 16 deletions(-) diff --git a/springboot-vue3/src/main/java/com/example/springboot/entity/glassinfo.java b/springboot-vue3/src/main/java/com/example/springboot/entity/glassinfo.java index 568facc..977b843 100644 --- a/springboot-vue3/src/main/java/com/example/springboot/entity/glassinfo.java +++ b/springboot-vue3/src/main/java/com/example/springboot/entity/glassinfo.java @@ -1,25 +1,69 @@ package com.example.springboot.entity; -import java.util.Date; - +import com.baomidou.mybatisplus.annotation.IdType; +import com.baomidou.mybatisplus.annotation.TableId; import com.baomidou.mybatisplus.annotation.TableName; import lombok.Data; +/** + * 鐜荤拑琛� + */ @Data -@TableName("`glassinfo`") -public class glassinfo { - private Integer id;// 鑷id - private String flowcard;// 娴佺▼鍗d - private Integer glasstype;// 鐜荤拑绫诲瀷 - private Integer mateid;// 閰嶇墖id - private Integer glassid;// 鐜荤拑id - private Integer tier;// 灞� - private String films;// 鑶滅郴 - private Double width;// 瀹� - private Double height;// 楂� - private String thickness;// 鍘� - private Integer number;// 鏁伴噺 - private Integer finishnumber;// 瀹屾垚鏁伴噺 +@TableName("glassinfo") +public class GlassInfo { + + /** + * 涓婚敭锛岃嚜鍔ㄧ敓鎴� + */ + @TableId(value = "id", type = IdType.AUTO) + private Integer id; + + /** + * 娴佺▼鍗d + */ + private Integer flowcard; + /** + * 鐜荤拑绫诲瀷 + */ + private Integer glasstype; + /** + * 閰嶇墖id + */ + private Integer mateid; + /** + * 鐜荤拑id + */ + private String glassid; + /** + * 灞� + */ + private Integer tier; + /** + * 鑶滅郴 + */ + private String films; + /** + * 瀹� + */ + private Double width; + /** + * 楂� + */ + private Double height; + /** + * 鍘氬害 + */ + private Double thickness; + /** + * 鏁伴噺 + */ + private Integer number; + /** + * 瀹屾垚鏁伴噺 + */ + private Integer finishnumber; } + + -- Gitblit v1.8.0